Author: bdrewery
Date: Sun Mar  2 16:04:27 2014
New Revision: 262692
URL: http://svnweb.freebsd.org/changeset/base/262692

Log:
  MFC r262005:
  
    Remove redundant memcpy of fd_ofiles in fdgrowtable()
  
  Approved by:  bapt (mentor, implicit)

Modified:
  stable/10/sys/kern/kern_descrip.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/kern_descrip.c
==============================================================================
--- stable/10/sys/kern/kern_descrip.c   Sun Mar  2 15:53:39 2014        
(r262691)
+++ stable/10/sys/kern/kern_descrip.c   Sun Mar  2 16:04:27 2014        
(r262692)
@@ -1538,7 +1538,6 @@ fdgrowtable(struct filedesc *fdp, int nf
        memcpy(nmap, omap, NDSLOTS(onfiles) * sizeof(*omap));
 
        /* update the pointers and counters */
-       memcpy(ntable, otable, onfiles * sizeof(ntable[0]));
        fdp->fd_ofiles = ntable;
        fdp->fd_map = nmap;
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to