commit | 2389cdc36007ba28ebe6640d7dd5e3494318a909 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Thu Oct 29 12:32:21 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 04 16:43:39 2020 +0100 |
tree | 40849526e88aa28428a573b9827d32530af848ac | |
parent | 6dee84d6bed747653914298a8913e91391a2ce10 [diff] |
vt: keyboard, use find_next_bit in kbd_match Instead of a 'for' loop with 'test_bit's to find a bit in a range, use find_next_bit to achieve the same in a simpler and faster manner. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20201029113222.32640-16-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>