summaryrefslogtreecommitdiffstats
path: root/fs/hfs
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-13 14:36:10 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-13 21:21:35 -0800
commitcfac1d080a00544e5cecd2d7c9ebe3d6a5cc18e6 (patch)
tree8f5d99e331fbd14fedaff8b58625ee4fd5e8190a /fs/hfs
parent97fb8e940bc56b157517c812c9c6cbfc83d48d78 (diff)
downloadblackbird-obmc-linux-cfac1d080a00544e5cecd2d7c9ebe3d6a5cc18e6.tar.gz
blackbird-obmc-linux-cfac1d080a00544e5cecd2d7c9ebe3d6a5cc18e6.zip
lib: bitmap: yet another simplification in __bitmap_shift_right
If left is 0, we can just let mask be ~0UL, so that anding with it is a no-op. Conveniently, BITMAP_LAST_WORD_MASK provides precisely what we need, and we can eliminate left. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud