From 12dead97026f98253325bb6fa90500c89f792d61 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 19 Jul 2012 22:56:22 +0800 Subject: [PATCH] Just a little cleanup --- KernelLand/Kernel/modules.c | 2 +- KernelLand/Modules/Input/PS2KbMouse/8042.c | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/KernelLand/Kernel/modules.c b/KernelLand/Kernel/modules.c index dd8a3ae1..544e8661 100644 --- a/KernelLand/Kernel/modules.c +++ b/KernelLand/Kernel/modules.c @@ -178,7 +178,7 @@ int Module_int_Initialise(tModule *Module, const char *ArgString) Log_Warning("Module", "Unable to load, reason: Miscelanious"); break; case MODULE_ERR_NOTNEEDED: - Log_Debug("Module", "Unable to load, reason: Module not needed"); +// Log_Debug("Module", "Unable to load, reason: Module not needed"); break; case MODULE_ERR_MALLOC: Log_Warning("Module", "Unable to load, reason: Error in malloc/realloc/calloc, probably not good"); diff --git a/KernelLand/Modules/Input/PS2KbMouse/8042.c b/KernelLand/Modules/Input/PS2KbMouse/8042.c index e11bc74f..f71fff7f 100644 --- a/KernelLand/Modules/Input/PS2KbMouse/8042.c +++ b/KernelLand/Modules/Input/PS2KbMouse/8042.c @@ -36,11 +36,7 @@ void KBC8042_Init(void) void KBC8042_KeyboardHandler(int IRQ, void *Ptr) { - Uint8 scancode; - -// Log("KBC8042_KeyboardHandler: (IRQ=%i, Ptr=%p)", IRQ, Ptr); - - scancode = inb(0x60); + Uint8 scancode = inb(0x60); KB_HandleScancode( scancode ); } -- 2.20.1