aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 04:38:33 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 04:38:33 -0400
commit82760526e6d2e1d1e815abaf3eae42b8bb82968c (patch)
tree97216f18009013a20fe09f095caeadea973e8bbc
parente8656b02ef353e73d0625302c85026f80958c531 (diff)
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>
-rw-r--r--include/linux/usb/serial.h8
1 files changed, 0 insertions, 8 deletions
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,
365 function, size, size, data); 365 function, size, size, data);
366} 366}
367 367
368/* Use our own dbg macro */
369#undef dbg
370#define dbg(format, arg...) \
371do { \
372 if (debug) \
373 printk(KERN_DEBUG "%s: " format "\n", __FILE__, ##arg); \
374} while (0)
375
376/* 368/*
377 * Macro for reporting errors in write path to avoid inifinite loop 369 * Macro for reporting errors in write path to avoid inifinite loop
378 * when port is used as a console. 370 * when port is used as a console.