[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] [PATCH] Fix USB mouse debug



Commit message:

Remove debug define which are already defined in USB global.h file.
Remove DEV_DEBUG define which is already defined in MOUSEDEFS file.
diff -r 31c8cfc0b95d -r b801f40777bd sys/usb/src.km/udd/mouse/usb_mouse.c
--- a/sys/usb/src.km/udd/mouse/usb_mouse.c	Thu Oct 30 11:45:59 2014 +0100
+++ b/sys/usb/src.km/udd/mouse/usb_mouse.c	Thu Oct 30 11:49:20 2014 +0100
@@ -20,31 +20,6 @@
 	"Ported, mixed and shaken by Alan Hourihane.\r\n" \
 	"Compiled " MSG_BUILDDATE ".\r\n\r\n"
 
-#ifndef TOSONLY
-
-#if 0
-#define DEV_DEBUG	1
-#endif
-
-#ifdef DEV_DEBUG
-
-#define FORCE(x)
-#define ALERT(x)	KERNEL_ALERT x
-#define DEBUG(x)	KERNEL_DEBUG x
-#define TRACE(x)	KERNEL_TRACE x
-#define ASSERT(x)	assert x
-
-#else
-
-#define FORCE(x)
-#define ALERT(x)	KERNEL_ALERT x
-#define DEBUG(x)
-#define TRACE(x)
-#define ASSERT(x)	assert x
-
-#endif
-
-#endif
 
 /****************************************************************************/
 /*