mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 23:28:55 +00:00
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>
This commit is contained in:
parent
e8656b02ef
commit
82760526e6
1 changed files with 0 additions and 8 deletions
|
@ -365,14 +365,6 @@ static inline void usb_serial_debug_data(int debug,
|
||||||
function, size, size, data);
|
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
|
* Macro for reporting errors in write path to avoid inifinite loop
|
||||||
* when port is used as a console.
|
* when port is used as a console.
|
||||||
|
|
Loading…
Add table
Reference in a new issue