diff options
author | Yury Norov <yury.norov@gmail.com> | 2020-01-30 22:16:43 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-01-31 10:30:40 -0800 |
commit | b78c57135d470cfc5b461f2abde4eaeb07d100fb (patch) | |
tree | e71992e9e5fe819f771b7c370590d106c233c425 /block/partitions | |
parent | d5767057c9a76a29f073dad66b7fa12a90e8c748 (diff) | |
download | linux-b78c57135d470cfc5b461f2abde4eaeb07d100fb.tar.gz |
lib/find_bit.c: join _find_next_bit{_le}
_find_next_bit and _find_next_bit_le are very similar functions. It's
possible to join them by adding 1 parameter and a couple of simple
checks. It's simplify maintenance and make possible to shrink the size
of .text by un-inlining the unified function (in the following patch).
Link: http://lkml.kernel.org/r/20200103202846.21616-2-yury.norov@gmail.com
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Cc: Allison Randal <allison@lohutok.net>
Cc: Joe Perches <joe@perches.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions