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

This commit is contained in:
Pawel Jakub Dawidek 2006-09-20 07:27:05 +00:00
parent 78e36c279b
commit 783deec19e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162459
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;