Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3be974a authored by Lu Baolu's avatar Lu Baolu Committed by Greg Kroah-Hartman
Browse files

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 <vbabka.lkml@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f4c3f90
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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