Don't examine an un-initialized variable.

Spotted by:	FlexeLint.
This commit is contained in:
Poul-Henning Kamp 2002-10-20 21:52:05 +00:00
parent e0c12d4c23
commit 6999d2ef6d

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);
}