Remove redundant memcpy of fd_ofiles in fdgrowtable() added in r247602

Discussed with:	mjg
Approved by:	bapt (mentor)
MFC after:	2 weeks
This commit is contained in:
Bryan Drewery 2014-02-16 23:10:46 +00:00
parent ea4e0ab0cc
commit 88812f91aa

View File

@ -1537,7 +1537,6 @@ fdgrowtable(struct filedesc *fdp, int nfd)
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;