[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] [PATCH] Fix Unicorn driver debug
Commit message:
Remove debug defines which are already defined in the USB global.h file.
Remove DEV_DEBUG which is defined in UNICORDEFS file.
diff -r 60ec6134674b -r 31c8cfc0b95d sys/usb/src.km/ucd/unicorn/sl811-hcd.c
--- a/sys/usb/src.km/ucd/unicorn/sl811-hcd.c Thu Oct 30 11:41:16 2014 +0100
+++ b/sys/usb/src.km/ucd/unicorn/sl811-hcd.c Thu Oct 30 11:45:59 2014 +0100
@@ -60,29 +60,6 @@
#include "sl811.h"
-#ifndef TOSONLY
-#if 0
-# define DEV_DEBUG
-#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
unsigned long
get_hz_200(void)