diff options
author | Nathan Chancellor <nathan@kernel.org> | 2021-06-03 20:43:11 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-06-21 16:19:11 +0300 |
commit | bfaa324e9a8073f539e5cf2d4fe14fe55e317525 (patch) | |
tree | 70dad9bd6c2b1ef2ab81f5f23af71ac6d8968323 /fs/btrfs/transaction.c | |
parent | 77d255348bb2ce9a174cca020aa38f2ce82cb2bc (diff) | |
download | linux-bfaa324e9a8073f539e5cf2d4fe14fe55e317525.tar.xz |
btrfs: remove total_data_size variable in btrfs_batch_insert_items()
clang warns:
fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set
but not used [-Wunused-but-set-variable]
int total_data_size = 0, total_size = 0;
^
1 warning generated.
This variable's value has been unused since commit fc0d82e103c7 ("btrfs:
sink total_data parameter in setup_items_for_insert"). Eliminate it.
Link: https://github.com/ClangBuiltLinux/linux/issues/1391
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
0 files changed, 0 insertions, 0 deletions