diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 05:16:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 05:16:12 -0400 |
commit | 8c3b8f0aea54f5c9d77d3bd4bf037d8868026d72 (patch) | |
tree | d444598ec672404007cd05288838f2852c7ad07d /drivers/usb/serial | |
parent | 059bb46a5177b5e271d3289a8fe9dd883550d90c (diff) |
USB: Serial: pl2303.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: Johan Hovold <jhovold@gmail.com>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Wang YanQing <Udknight@gmail.com>
CC: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 5eccbe5b81b5..ef10a9c6ce46 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -36,8 +36,6 @@ | |||
36 | */ | 36 | */ |
37 | #define DRIVER_DESC "Prolific PL2303 USB to serial adaptor driver" | 37 | #define DRIVER_DESC "Prolific PL2303 USB to serial adaptor driver" |
38 | 38 | ||
39 | static bool debug; | ||
40 | |||
41 | static const struct usb_device_id id_table[] = { | 39 | static const struct usb_device_id id_table[] = { |
42 | { USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID) }, | 40 | { USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID) }, |
43 | { USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_RSAQ2) }, | 41 | { USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_RSAQ2) }, |
@@ -839,7 +837,3 @@ module_usb_serial_driver(serial_drivers, id_table); | |||
839 | 837 | ||
840 | MODULE_DESCRIPTION(DRIVER_DESC); | 838 | MODULE_DESCRIPTION(DRIVER_DESC); |
841 | MODULE_LICENSE("GPL"); | 839 | MODULE_LICENSE("GPL"); |
842 | |||
843 | module_param(debug, bool, S_IRUGO | S_IWUSR); | ||
844 | MODULE_PARM_DESC(debug, "Debug enabled or not"); | ||
845 | |||