From 905807264d28c1ebc1c88a9cfc6f31519e1a91cb Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Fri, 29 Jul 2016 12:15:55 +0000 Subject: [PATCH] Remove write-only variable. MFC after: 1 month --- sys/fs/autofs/autofs_vnops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/fs/autofs/autofs_vnops.c b/sys/fs/autofs/autofs_vnops.c index 781338b89605..e53e38e55323 100644 --- a/sys/fs/autofs/autofs_vnops.c +++ b/sys/fs/autofs/autofs_vnops.c @@ -138,11 +138,9 @@ autofs_trigger_vn(struct vnode *vp, const char *path, int pathlen, 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