diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2014-08-06 16:10:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:26 -0700 |
commit | 2ac521d3325a24f01c1f1e86c74537b831d282c5 (patch) | |
tree | fd89c8c59ad2a864b1b72fbb2b9c8a286c6ccd3c /lib/lockref.c | |
parent | 9279d3286e10736766edcaf815ae10e00856e448 (diff) | |
download | linux-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