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:
Colin Ian King
2025-05-07 11:43:37 +01:00
committed by Daniel Thompson (RISCstar)
parent 0c28a23722
commit fdbdd0ccb3

View File

@@ -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.