summaryrefslogtreecommitdiffstats
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2014-08-06 16:10:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-06 18:01:26 -0700
commit2ac521d3325a24f01c1f1e86c74537b831d282c5 (patch)
treefd89c8c59ad2a864b1b72fbb2b9c8a286c6ccd3c /lib/lockref.c
parent9279d3286e10736766edcaf815ae10e00856e448 (diff)
downloadlinux-2ac521d3325a24f01c1f1e86c74537b831d282c5.tar.bz2
lib: bitmap: micro-optimize bitmap_allocate_region
__reg_op(..., REG_OP_ALLOC) always returns 0, so we might as well use that and save an instruction. 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 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions