diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2014-08-07 03:10:18 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 05:01:26 +0400 |
commit | 2ac521d3325a24f01c1f1e86c74537b831d282c5 (patch) | |
tree | fd89c8c59ad2a864b1b72fbb2b9c8a286c6ccd3c /include/linux/bitmap.h | |
parent | 9279d3286e10736766edcaf815ae10e00856e448 (diff) | |
download | linux-2ac521d3325a24f01c1f1e86c74537b831d282c5.tar.xz |
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 'include/linux/bitmap.h')
0 files changed, 0 insertions, 0 deletions