summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-11-03 14:43:30 +0000
committertrasz <trasz@FreeBSD.org>2016-11-03 14:43:30 +0000
commit85776315b53f51afa80be3e8b39e6a9c04be9781 (patch)
treeaba2c64915e81e28ae7b8e8b5823e914e52b917d /sys/fs
parent836146a6509cb9fc0ce5b9f715c786106a73b6e5 (diff)
downloadFreeBSD-src-85776315b53f51afa80be3e8b39e6a9c04be9781.zip
FreeBSD-src-85776315b53f51afa80be3e8b39e6a9c04be9781.tar.gz
MFC r303478:
Remove write-only variable.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/autofs/autofs_vnops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/autofs/autofs_vnops.c b/sys/fs/autofs/autofs_vnops.c
index 0c3650b..3dfdb55 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
OpenPOWER on IntegriCloud