37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
diff --git a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c
|
|
index 9357fb2..7e0b6c0 100644
|
|
--- a/drivers/staging/rt2860/rt_linux.c
|
|
+++ b/drivers/staging/rt2860/rt_linux.c
|
|
@@ -28,7 +28,7 @@
|
|
#include <linux/sched.h>
|
|
#include "rt_config.h"
|
|
|
|
-unsigned long RTDebugLevel = RT_DEBUG_ERROR;
|
|
+unsigned long RTDebugLevel = RT_DEBUG_OFF;
|
|
|
|
/* for wireless system event message */
|
|
char const *pWirelessSysEventText[IW_SYS_EVENT_TYPE_NUM] = {
|
|
diff --git a/drivers/staging/rt2860/rt_linux.h b/drivers/staging/rt2860/rt_linux.h
|
|
index f85508d..92ce551 100644
|
|
--- a/drivers/staging/rt2860/rt_linux.h
|
|
+++ b/drivers/staging/rt2860/rt_linux.h
|
|
@@ -425,16 +425,9 @@ do{ \
|
|
|
|
#define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
|
|
|
|
-#define DBGPRINT_ERR(Fmt) \
|
|
-{ \
|
|
- printk("ERROR! "); \
|
|
- printk Fmt; \
|
|
-}
|
|
+#define DBGPRINT_ERR(Fmt)
|
|
|
|
-#define DBGPRINT_S(Status, Fmt) \
|
|
-{ \
|
|
- printk Fmt; \
|
|
-}
|
|
+#define DBGPRINT_S(Status, Fmt)
|
|
|
|
#else
|
|
#define DBGPRINT(Level, Fmt)
|