diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 11:05:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 11:05:17 -0400 |
commit | 3033bc8d74c1a9d9104b9f231283e780e6dd8de7 (patch) | |
tree | a8a319dd600364ef66ce565415d9efce229bef7e /drivers/usb/serial/console.c | |
parent | d3d6c328e5030da560dcbaaa9ced063d5ba93642 (diff) |
USB: Serial: usb-serial: remove debug module parameter
Now that all usb-serial modules are only using dev_dbg()
the debug module parameter does not do anything at all, so
remove it to reduce any confusion if someone were to try
to use it.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/console.c')
-rw-r--r-- | drivers/usb/serial/console.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/usb/serial/console.c b/drivers/usb/serial/console.c index 335f98d092cc..6ea18a1ea1a7 100644 --- a/drivers/usb/serial/console.c +++ b/drivers/usb/serial/console.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #include <linux/usb.h> | 22 | #include <linux/usb.h> |
23 | #include <linux/usb/serial.h> | 23 | #include <linux/usb/serial.h> |
24 | 24 | ||
25 | static int debug; | ||
26 | |||
27 | struct usbcons_info { | 25 | struct usbcons_info { |
28 | int magic; | 26 | int magic; |
29 | int break_flag; | 27 | int break_flag; |
@@ -283,10 +281,8 @@ void usb_serial_console_disconnect(struct usb_serial *serial) | |||
283 | } | 281 | } |
284 | } | 282 | } |
285 | 283 | ||
286 | void usb_serial_console_init(int serial_debug, int minor) | 284 | void usb_serial_console_init(int minor) |
287 | { | 285 | { |
288 | debug = serial_debug; | ||
289 | |||
290 | if (minor == 0) { | 286 | if (minor == 0) { |
291 | /* | 287 | /* |
292 | * Call register_console() if this is the first device plugged | 288 | * Call register_console() if this is the first device plugged |