aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2021-03-25 15:14:35 +0800
committerDavid Sterba <[email protected]>2021-04-19 17:25:18 +0200
commitd239bcb83b3eb43faf50a50948c4381eea6335bc (patch)
tree90a9eb761a021471cc00dcc52b7b9c3b32881731 /tools/perf/scripts/python/net_dropmonitor.py
parentac5804eb8521bea5c1ec1b7e07ad87c469bf7437 (diff)
btrfs: remove unnecessary variable shadowing in btrfs_invalidatepage()
In btrfs_invalidatepage() we re-declare @tree variable as btrfs_ordered_inode_tree. Since it's only used to do the spinlock, we can grab it from inode directly, and remove the unnecessary declaration completely. Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions