summaryrefslogtreecommitdiff
path: root/fs/btrfs/block-group.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2020-08-19 17:16:28 +0300
committerDavid Sterba <dsterba@suse.com>2020-10-07 12:06:56 +0200
commit24646481fb19a3bd86933ec30480454381ff9860 (patch)
treee44438a4c8d880839600d13688d91246d9604f49 /fs/btrfs/block-group.c
parent487781796d302266aff993bee17d4e1ddd73445b (diff)
downloadlwn-24646481fb19a3bd86933ec30480454381ff9860.tar.gz
lwn-24646481fb19a3bd86933ec30480454381ff9860.zip
btrfs: sysfs: fix unused-but-set-variable warnings
The compilation with W=1 generates the following warnings: fs/btrfs/sysfs.c:1630:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1630 | int ret; | ^~~ fs/btrfs/sysfs.c:1629:6: warning: variable 'features' set but not used [-Wunused-but-set-variable] 1629 | u64 features; | ^~~~~~~~ [ The unused variables are leftover from e410e34fad91 ("Revert "btrfs: synchronize incompat feature bits with sysfs files""), which needs to be properly fixed by moving feature bit manipulation from the sysfs context. Silence the warning to save pepople time, we got several reports. ] Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-group.c')
0 files changed, 0 insertions, 0 deletions