Remove redundant initialization that is repeated in the for() loop

right below it.

Approved by:	jhb
This commit is contained in:
Giorgos Keramidas 2005-03-08 16:57:20 +00:00
parent 0fdac3eed6
commit 0a11e99990

View File

@ -1543,8 +1543,6 @@ fdfree(struct thread *td)
fdtol->fdl_refcount));
if (fdtol->fdl_refcount == 1 &&
(td->td_proc->p_leader->p_flag & P_ADVLOCK) != 0) {
i = 0;
fpp = fdp->fd_ofiles;
for (i = 0, fpp = fdp->fd_ofiles;
i <= fdp->fd_lastfile;
i++, fpp++) {