Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1656763 > unrolled thread

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

Started byLu Baolu <baolu.lu@linux.intel.com>
First post2017-06-03 11:20 +0200
Last post2017-06-03 11:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1] usb/early: Remove trace_printk() callers in xhci-dbc Lu Baolu <baolu.lu@linux.intel.com> - 2017-06-03 11:20 +0200

#1656763 — [PATCH 1/1] usb/early: Remove trace_printk() callers in xhci-dbc

FromLu Baolu <baolu.lu@linux.intel.com>
Date2017-06-03 11:20 +0200
Subject[PATCH 1/1] usb/early: Remove trace_printk() callers in xhci-dbc
Message-ID<tOdnY-5aH-13@gated-at.bofh.it>
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>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
---
 drivers/usb/early/xhci-dbc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/early/xhci-dbc.c b/drivers/usb/early/xhci-dbc.c
index 1268818..12fe70b 100644
--- a/drivers/usb/early/xhci-dbc.c
+++ b/drivers/usb/early/xhci-dbc.c
@@ -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
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web