From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Tue, 18 Sep 2012 08:38:33 +0000 (+0100)
Subject: USB: serial: remove dbg() from usb/serial.h
X-Git-Tag: firefly_0821_release~3680^2~1975^2~64
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=82760526e6d2e1d1e815abaf3eae42b8bb82968c;p=firefly-linux-kernel-4.4.55.git

USB: serial: remove dbg() from usb/serial.h

Now that all in-kernel users of the dbg() macro are gone, we can remove
it from the include/linux/usb/serial.h file.

Good riddance.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---

diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index 6bed6db619b2..e71bc5ef234a 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -365,14 +365,6 @@ static inline void usb_serial_debug_data(int debug,
 			   function, size, size, data);
 }
 
-/* Use our own dbg macro */
-#undef dbg
-#define dbg(format, arg...)						\
-do {									\
-	if (debug)							\
-		printk(KERN_DEBUG "%s: " format "\n", __FILE__, ##arg);	\
-} while (0)
-
 /*
  * Macro for reporting errors in write path to avoid inifinite loop
  * when port is used as a console.