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:
parent
ea4e0ab0cc
commit
88812f91aa
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user