There is no need to set 'sp' to NULL anymore.

This commit is contained in:
pjd 2006-09-20 07:27:05 +00:00
parent 30e57dfd12
commit 32e23e90df
2 changed files with 0 additions and 2 deletions

View File

@ -4313,7 +4313,6 @@ kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf)
return (error);
}
vput(vp);
sp = NULL;
error = prison_canseemount(td->td_ucred, mp);
if (error)
goto out;

View File

@ -4313,7 +4313,6 @@ kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf)
return (error);
}
vput(vp);
sp = NULL;
error = prison_canseemount(td->td_ucred, mp);
if (error)
goto out;