From: John Hodge Date: Thu, 19 Jul 2012 14:56:22 +0000 (+0800) Subject: Just a little cleanup X-Git-Tag: rel0.15~611^2~14 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=12dead97026f98253325bb6fa90500c89f792d61;p=tpg%2Facess2.git Just a little cleanup --- 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 ); }