svn commit: r308254 - stable/11/sys/fs/autofs

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Nov 3 14:43:32 UTC 2016


Author: trasz
Date: Thu Nov  3 14:43:30 2016
New Revision: 308254
URL: https://svnweb.freebsd.org/changeset/base/308254

Log:
  MFC r303478:
  
  Remove write-only variable.

Modified:
  stable/11/sys/fs/autofs/autofs_vnops.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/fs/autofs/autofs_vnops.c
==============================================================================
--- stable/11/sys/fs/autofs/autofs_vnops.c	Thu Nov  3 14:40:34 2016	(r308253)
+++ stable/11/sys/fs/autofs/autofs_vnops.c	Thu Nov  3 14:43:30 2016	(r308254)
@@ -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


More information about the svn-src-all mailing list