aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2024-04-23 12:10:29 +0200
committerDavid Sterba <[email protected]>2024-05-07 21:31:08 +0200
commit30704a0d562bbed00b3ca4bb14108d75c3ee9108 (patch)
tree2ef78294dc55b9a7d7a3aa19307632b75557b0e0 /tools/testing/selftests/bpf/progs/test_autoload.c
parent33a44f3760509c6b4df595774f1232f4c1b81e65 (diff)
btrfs: drop unused argument of calcu_metadata_size()
calcu_metadata_size() has a "reserve" argument, but the only caller always set it to "1". The other usage (reserve = 0) is dropped by a commit 0647bf564f1e ("Btrfs: improve forever loop when doing balance relocation"), which is more than 10 years ago. Drop the argument and simplify the code. Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Naohiro Aota <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions