diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2017-12-25 04:48:39 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2017-12-25 04:48:39 +0000 |
commit | 151ba7933aab5c8edc094715bffd9b97d84d2407 (patch) | |
tree | 167df86be6de8b19aed984ed6729a169885f0c33 /sys/ufs/ffs/ffs_vnops.c | |
parent | 280d15cd0af7a89bbb9703ead1a83a3258fa3495 (diff) | |
download | src-151ba7933aab5c8edc094715bffd9b97d84d2407.tar.gz src-151ba7933aab5c8edc094715bffd9b97d84d2407.zip |
Do pass removing some write-only variables from the kernel.
This reduces noise when kernel is compiled by newer GCC versions,
such as one used by external toolchain ports.
Reviewed by: kib, andrew(sys/arm and sys/arm64), emaste(partial), erj(partial)
Reviewed by: jhb (sys/dev/pci/* sys/kern/vfs_aio.c and sys/kern/kern_synch.c)
Differential Revision: https://reviews.freebsd.org/D10385
Notes
Notes:
svn path=/head/; revision=327173
Diffstat (limited to 'sys/ufs/ffs/ffs_vnops.c')
-rw-r--r-- | sys/ufs/ffs/ffs_vnops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c index 5ecb49e2f1e9..ce039d9adc8c 100644 --- a/sys/ufs/ffs/ffs_vnops.c +++ b/sys/ufs/ffs/ffs_vnops.c @@ -1369,7 +1369,6 @@ vop_deleteextattr { */ { struct inode *ip; - struct fs *fs; struct extattr *eap; uint32_t ul; int olen, error, i, easize; @@ -1377,7 +1376,6 @@ vop_deleteextattr { void *tmp; ip = VTOI(ap->a_vp); - fs = ITOFS(ip); if (ap->a_vp->v_type == VCHR || ap->a_vp->v_type == VBLK) return (EOPNOTSUPP); |