diff options
author | 2019-10-18 11:58:21 +0200 | |
---|---|---|
committer | 2019-11-18 12:47:00 +0100 | |
commit | 721860d5780c64d0757a205413c7eecddfd89039 (patch) | |
tree | 8d6699ad8c6407c8401ad066a44eafc8713432c5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | btrfs: raid56: reduce indentation in lock_stripe_add (diff) | |
download | wireguard-linux-721860d5780c64d0757a205413c7eecddfd89039.tar.xz wireguard-linux-721860d5780c64d0757a205413c7eecddfd89039.zip |
btrfs: remove pointless local variable in lock_stripe_add()
In lock_stripe_add() we're caching the bucket for the stripe hash table
just for a single call to dereference the stripe hash.
If we just directly call rbio_bucket() we can safe the pointless local
variable.
Also move the dereferencing of the stripe hash outside of the variable
declaration block to not break over the 80 characters limit.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions