mirror of
https://github.com/torvalds/linux.git
synced 2025-11-30 23:16:01 +07:00
kdb: remove redundant check for scancode 0xe0
The check for scancode 0xe0 is always false because earlier on the scan code is masked with 0x7f so there are never going to be values greater than 0x7f. Remove the redundant check. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
This commit is contained in:
committed by
Daniel Thompson (RISCstar)
parent
0c28a23722
commit
fdbdd0ccb3
@@ -145,9 +145,6 @@ int kdb_get_kbd_char(void)
|
||||
return CTRL('F');
|
||||
}
|
||||
|
||||
if (scancode == 0xe0)
|
||||
return -1;
|
||||
|
||||
/*
|
||||
* For Japanese 86/106 keyboards
|
||||
* See comment in drivers/char/pc_keyb.c.
|
||||
|
||||
Reference in New Issue
Block a user