Don't examine an un-initialized variable.

Spotted by:	FlexeLint.
This commit is contained in:
phk 2002-10-20 21:52:05 +00:00
parent 9d17032f64
commit b9ad3f37bf

View File

@ -475,10 +475,6 @@ nfs_mountroot(struct mount *mp, struct thread *td)
printf("NFS ROOT: %s\n", buf);
if ((error = nfs_mountdiskless(buf, "/", MNT_RDONLY,
&nd->root_saddr, &nd->root_args, td, &vp, &mp)) != 0) {
if (swap_mp) {
mp->mnt_vfc->vfc_refcount--;
free(swap_mp, M_MOUNT);
}
return (error);
}