Skip to contentSkip to conversation

usb/early: Remove trace_printk() callers in xhci-dbc

PATCH New Lu Baolu 1 participant 1 message Jun 3, 2017 USB

lore
Share & tools
lore

Lu Baolu

author
#0 lore raw

PATCH 1/1 usb/early: Remove trace_printk() callers in xhci-dbc

Trace_printk() was used to log debug messages in xhci-dbc.c where printk() isn't feasible. As there should not be a single caller to trace_printk() in normal kernels, replace them with empty functions.

Cc Vlastimil Babka <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/usb/early/xhci-dbc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/early/xhci-dbc.c +0 -1
index 1268818..12fe70b 100644
@@ -32,7 +32,6 @@
 static struct xdbc_state xdbc;
 static bool early_console_keep;
 
-#define XDBC_TRACE
 #ifdef XDBC_TRACE
 #define	xdbc_trace	trace_printk
 #else
Signature · 1 line
2.7.4