diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 05:16:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 05:16:16 -0400 |
commit | f3c4bd30623f06a5cc36fe096c29c253fd88451b (patch) | |
tree | 4861ded59d47de0b065ef848435900a68be6c0db /drivers/usb/serial/sierra.c | |
parent | 8c3b8f0aea54f5c9d77d3bd4bf037d8868026d72 (diff) |
USB: Serial: sierra.c: 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.
CC: Alan Stern <stern@rowland.harvard.edu>
CC: "Bjørn Mork" <bjorn@mork.no>
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/sierra.c')
-rw-r--r-- | drivers/usb/serial/sierra.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 400bb131fb97..4ef30ac5e049 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c | |||
@@ -46,7 +46,6 @@ | |||
46 | allocations > PAGE_SIZE and the number of packets in a page | 46 | allocations > PAGE_SIZE and the number of packets in a page |
47 | is an integer 512 is the largest possible packet on EHCI */ | 47 | is an integer 512 is the largest possible packet on EHCI */ |
48 | 48 | ||
49 | static bool debug; | ||
50 | static bool nmea; | 49 | static bool nmea; |
51 | 50 | ||
52 | /* Used in interface blacklisting */ | 51 | /* Used in interface blacklisting */ |
@@ -765,7 +764,6 @@ static struct urb *sierra_setup_urb(struct usb_serial *serial, int endpoint, | |||
765 | usb_sndbulkpipe(serial->dev, endpoint) | dir, | 764 | usb_sndbulkpipe(serial->dev, endpoint) | dir, |
766 | buf, len, callback, ctx); | 765 | buf, len, callback, ctx); |
767 | 766 | ||
768 | /* debug */ | ||
769 | dev_dbg(&serial->dev->dev, "%s %c u : %p d:%p\n", __func__, | 767 | dev_dbg(&serial->dev->dev, "%s %c u : %p d:%p\n", __func__, |
770 | dir == USB_DIR_IN ? 'i' : 'o', urb, buf); | 768 | dir == USB_DIR_IN ? 'i' : 'o', urb, buf); |
771 | } else { | 769 | } else { |
@@ -1082,6 +1080,3 @@ MODULE_LICENSE("GPL"); | |||
1082 | 1080 | ||
1083 | module_param(nmea, bool, S_IRUGO | S_IWUSR); | 1081 | module_param(nmea, bool, S_IRUGO | S_IWUSR); |
1084 | MODULE_PARM_DESC(nmea, "NMEA streaming"); | 1082 | MODULE_PARM_DESC(nmea, "NMEA streaming"); |
1085 | |||
1086 | module_param(debug, bool, S_IRUGO | S_IWUSR); | ||
1087 | MODULE_PARM_DESC(debug, "Debug messages"); | ||