Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2016 12:15:55 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303478 - head/sys/fs/autofs
Message-ID:  <201607291215.u6TCFt5S071018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607291215.u6TCFt5S071018>