diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-11-21 10:12:18 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-11-21 21:36:00 +0100 |
commit | 51590df4f3306cb1f43dca54e3ccdd121ab89594 (patch) | |
tree | 28e18ae994547f1586c623897a1bac7b23ac8e04 /fs/afs/main.c | |
parent | afs: xattr: use scnprintf (diff) | |
download | linux-51590df4f3306cb1f43dca54e3ccdd121ab89594.tar.xz linux-51590df4f3306cb1f43dca54e3ccdd121ab89594.zip |
afs: Remove set but not used variables 'before', 'after'
Fixes gcc '-Wunused-but-set-variable' warning:
fs/afs/dir_edit.c: In function afs_set_contig_bits:
fs/afs/dir_edit.c:75:20: warning: variable after set but not used [-Wunused-but-set-variable]
fs/afs/dir_edit.c: In function afs_set_contig_bits:
fs/afs/dir_edit.c:75:12: warning: variable before set but not used [-Wunused-but-set-variable]
fs/afs/dir_edit.c: In function afs_clear_contig_bits:
fs/afs/dir_edit.c:100:20: warning: variable after set but not used [-Wunused-but-set-variable]
fs/afs/dir_edit.c: In function afs_clear_contig_bits:
fs/afs/dir_edit.c:100:12: warning: variable before set but not used [-Wunused-but-set-variable]
They are never used since commit 63a4681ff39c.
Fixes: 63a4681ff39c ("afs: Locally edit directory data for mkdir/create/unlink/...")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/main.c')
0 files changed, 0 insertions, 0 deletions