diff options
author | Nikolay Borisov <[email protected]> | 2020-05-27 13:10:59 +0300 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-05-28 14:01:52 +0200 |
commit | 213ff4b72a9c7509dd85979db64c66774f4f26c1 (patch) | |
tree | 5c7ee0f056b146410f73e44d46008a9b8d355960 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 995e9a166b6909c9bb4af8f51b9502f8b8c18291 (diff) |
btrfs: remove redundant local variable in read_block_for_search
The local 'b' variable is only used to directly read values from passed
extent buffer. So eliminate it and directly use the input parameter.
Furthermore this shrinks the size of the following functions:
./scripts/bloat-o-meter ctree.orig fs/btrfs/ctree.o
add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-73 (-73)
Function old new delta
read_block_for_search.isra 876 871 -5
push_node_left 1112 1044 -68
Total: Before=50348, After=50275, chg -0.14%
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions