svn commit: r262005 - head/sys/kern
Bryan Drewery
bdrewery at FreeBSD.org
Sun Feb 16 23:10:47 UTC 2014
Author: bdrewery
Date: Sun Feb 16 23:10:46 2014
New Revision: 262005
URL: http://svnweb.freebsd.org/changeset/base/262005
Log:
Remove redundant memcpy of fd_ofiles in fdgrowtable() added in r247602
Discussed with: mjg
Approved by: bapt (mentor)
MFC after: 2 weeks
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c Sun Feb 16 23:08:21 2014 (r262004)
+++ head/sys/kern/kern_descrip.c Sun Feb 16 23:10:46 2014 (r262005)
@@ -1537,7 +1537,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;
More information about the svn-src-all
mailing list