Just a little cleanup
authorJohn Hodge <[email protected]>
Thu, 19 Jul 2012 14:56:22 +0000 (22:56 +0800)
committerJohn Hodge <[email protected]>
Thu, 19 Jul 2012 14:56:22 +0000 (22:56 +0800)
KernelLand/Kernel/modules.c
KernelLand/Modules/Input/PS2KbMouse/8042.c

index dd8a3ae..544e866 100644 (file)
@@ -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");
index e11bc74..f71fff7 100644 (file)
@@ -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 );
 }
 

UCC git Repository :: git.ucc.asn.au