Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 10:12:03 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240387 - head/sys/compat/linux
Message-ID:  <201209121012.q8CAC3lM043529@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209121012.q8CAC3lM043529>