Author: trasz
Date: Fri Jul 29 12:15:55 2016
New Revision: 303478
URL: https://svnweb.freebsd.org/changeset/base/303478

Log:
  Remove write-only variable.
  
  MFC after:    1 month

Modified:
  head/sys/fs/autofs/autofs_vnops.c

Modified: head/sys/fs/autofs/autofs_vnops.c
==============================================================================
--- head/sys/fs/autofs/autofs_vnops.c   Fri Jul 29 11:33:23 2016        
(r303477)
+++ head/sys/fs/autofs/autofs_vnops.c   Fri Jul 29 12:15:55 2016        
(r303478)
@@ -138,11 +138,9 @@ autofs_trigger_vn(struct vnode *vp, cons
     struct vnode **newvp)
 {
        struct autofs_node *anp;
-       struct autofs_mount *amp;
        int error, lock_flags;
 
        anp = vp->v_data;
-       amp = VFSTOAUTOFS(vp->v_mount);
 
        /*
         * Release the vnode lock, so that other operations, in partcular
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to