diff options
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 2b9108a8ea64..892ebdc7a364 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) }, |
@@ -741,7 +739,7 @@ static void pl2303_read_int_callback(struct urb *urb) | |||
741 | goto exit; | 739 | goto exit; |
742 | } | 740 | } |
743 | 741 | ||
744 | usb_serial_debug_data(debug, &port->dev, __func__, | 742 | usb_serial_debug_data(&port->dev, __func__, |
745 | urb->actual_length, urb->transfer_buffer); | 743 | urb->actual_length, urb->transfer_buffer); |
746 | 744 | ||
747 | pl2303_update_line_status(port, data, actual_length); | 745 | pl2303_update_line_status(port, data, actual_length); |
@@ -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 | |||