Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2016 14:43:31 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r308254 - stable/11/sys/fs/autofs
Message-ID:  <201611031443.uA3EhVdp012100@repo.freebsd.org>

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



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