summaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.h
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2021-06-03 20:43:11 +0300
committerDavid Sterba <dsterba@suse.com>2021-06-21 16:19:11 +0300
commitbfaa324e9a8073f539e5cf2d4fe14fe55e317525 (patch)
tree70dad9bd6c2b1ef2ab81f5f23af71ac6d8968323 /fs/btrfs/transaction.h
parent77d255348bb2ce9a174cca020aa38f2ce82cb2bc (diff)
downloadlinux-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.h')
0 files changed, 0 insertions, 0 deletions