diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 1998-12-09 15:12:53 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 1998-12-09 15:12:53 +0000 |
commit | 5fd7941bd32e3618bff1d7756013d1675ee6b0ff (patch) | |
tree | cff4660d0645d130e82ca94740e026558b333950 /sys/nfs | |
parent | a43aa36059339386be620662773ad78bc7df9776 (diff) | |
download | src-5fd7941bd32e3618bff1d7756013d1675ee6b0ff.tar.gz src-5fd7941bd32e3618bff1d7756013d1675ee6b0ff.zip |
Remove the if fixed in the last commit; bde quite correctly point out
that it can never fail.
Notes
Notes:
svn path=/head/; revision=41619
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_serv.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index a70996e97846..346c4fc58c7c 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_serv.c 8.8 (Berkeley) 7/31/95 - * $Id: nfs_serv.c,v 1.70 1998/10/31 15:39:31 peter Exp $ + * $Id: nfs_serv.c,v 1.71 1998/12/08 23:11:24 eivind Exp $ */ /* @@ -1776,8 +1776,7 @@ out: vrele(nd.ni_dvp); else vput(nd.ni_dvp); - if (vp != NULLVP) - vput(vp); + vput(vp); } if (dirp && v3) { diraft_ret = VOP_GETATTR(dirp, &diraft, cred, procp); |