aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-07-17 14:25:01 -0700
committerDarrick J. Wong <[email protected]>2018-07-17 14:25:57 -0700
commite4e542a683c16945533d700339a0aec261d39f34 (patch)
tree836a607674664bdf74ca844332319964bcd920fb /tools/perf/scripts/python/sctop.py
parent897992b7e3505659fda57887223bd6bfe163c12f (diff)
xfs: use swap macro in xfs_dir2_leafn_rebalance
Make use of the swap macro and remove unnecessary variable *tmp*. This makes the code easier to read and maintain. Also, slightly refactor some code. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions