Get rid of extraneous initialization.

Get rid of an extraneous initialization, mainly to keep a static analyser
happy. No semantic change.

PR:		238167
Submitted by:	Alexey Dokuchaev
This commit is contained in:
Rick Macklem 2019-05-31 03:13:09 +00:00
parent 46a6b5c451
commit 6aab442af9

View File

@ -1181,7 +1181,6 @@ nfs_lookup(struct vop_lookup_args *ap)
cache_purge_negative(dvp);
}
error = 0;
newvp = NULLVP;
NFSINCRGLOBAL(nfsstatsv1.lookupcache_misses);
error = nfsrpc_lookup(dvp, cnp->cn_nameptr, cnp->cn_namelen,