summaryrefslogtreecommitdiffstats
path: root/drivers/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/keyboard.c')
-rw-r--r--drivers/keyboard.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/keyboard.c b/drivers/keyboard.c
index 9975202d7a..e9b8959c8b 100644
--- a/drivers/keyboard.c
+++ b/drivers/keyboard.c
@@ -207,14 +207,8 @@ void handle_scancode(unsigned char scancode)
case 0xBA: /* caps lock released */
return; /* just swallow */
}
-#if 1
if((scancode&0x80)==0x80) /* key released */
return;
-#else
- if((scancode&0x80)==0x00) /* key pressed */
- return;
- scancode &= ~0x80;
-#endif
/* now, decide which table we need */
if(scancode > (sizeof(kbd_plain_xlate)/sizeof(kbd_plain_xlate[0]))) { /* scancode not in list */
PRINTF("unkown scancode %X\n",scancode);