svn commit: r240387 - head/sys/compat/linux
Kevin Lo
kevlo at FreeBSD.org
Wed Sep 12 10:12:04 UTC 2012
Author: kevlo
Date: Wed Sep 12 10:12:03 2012
New Revision: 240387
URL: http://svn.freebsd.org/changeset/base/240387
Log:
Remove redundant check
Modified:
head/sys/compat/linux/linux_file.c
Modified: head/sys/compat/linux/linux_file.c
==============================================================================
--- head/sys/compat/linux/linux_file.c Wed Sep 12 10:09:34 2012 (r240386)
+++ head/sys/compat/linux/linux_file.c Wed Sep 12 10:12:03 2012 (r240387)
@@ -384,11 +384,6 @@ getdents_common(struct thread *td, struc
auio.uio_resid = buflen;
auio.uio_offset = off;
- if (cookies) {
- free(cookies, M_TEMP);
- cookies = NULL;
- }
-
#ifdef MAC
/*
* Do directory search MAC check using non-cached credentials.
More information about the svn-src-all
mailing list