Commit fdbdd0cc authored by Colin Ian King's avatar Colin Ian King Committed by Daniel Thompson (RISCstar)
Browse files

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: default avatarColin Ian King <colin.i.king@gmail.com>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarDaniel Thompson (RISCstar) <danielt@kernel.org>
parent 0c28a237
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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.