Author: rmacklem
Date: Fri May 31 03:13:09 2019
New Revision: 348453
URL: https://svnweb.freebsd.org/changeset/base/348453

Log:
  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

Modified:
  head/sys/fs/nfsclient/nfs_clvnops.c

Modified: head/sys/fs/nfsclient/nfs_clvnops.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clvnops.c Fri May 31 01:28:48 2019        
(r348452)
+++ head/sys/fs/nfsclient/nfs_clvnops.c Fri May 31 03:13:09 2019        
(r348453)
@@ -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,
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to