Author: dchagin
Date: Sun Feb  3 18:27:57 2013
New Revision: 246291
URL: http://svnweb.freebsd.org/changeset/base/246291

Log:
  MFC r240387 (by kevlo@):
   Remove redundant check.

Modified:
  stable/9/sys/compat/linux/linux_file.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/compat/linux/linux_file.c
==============================================================================
--- stable/9/sys/compat/linux/linux_file.c      Sun Feb  3 18:14:37 2013        
(r246290)
+++ stable/9/sys/compat/linux/linux_file.c      Sun Feb  3 18:27:57 2013        
(r246291)
@@ -381,11 +381,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.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to