aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2015-02-13 14:36:05 -0800
committerLinus Torvalds <[email protected]>2015-02-13 21:21:35 -0800
commit9d8a6b2a02c5fae53d47bfffaabd5f12bb6ec2c0 (patch)
tree83b3b1366c55f3de296379435c4429a4b68e0cd7 /tools/perf/scripts/python/event_analyzing_sample.py
parent2fbad29917c9852fa018d572cd3d43a13465d0f8 (diff)
lib: bitmap: eliminate branch in __bitmap_shift_right
We can shift the bits from lower and upper into place before assembling dst[k]; moving the shift of upper into the branch where we already know that rem is non-zero allows us to remove a conditional. Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions