summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2024-04-23 13:10:29 +0300
committerDavid Sterba <dsterba@suse.com>2024-05-07 22:31:08 +0300
commit30704a0d562bbed00b3ca4bb14108d75c3ee9108 (patch)
tree2ef78294dc55b9a7d7a3aa19307632b75557b0e0 /tools/perf/scripts/python/task-analyzer.py
parent33a44f3760509c6b4df595774f1232f4c1b81e65 (diff)
downloadlinux-30704a0d562bbed00b3ca4bb14108d75c3ee9108.tar.xz
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 <wqu@suse.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions