diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 05:16:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 05:16:28 -0400 |
commit | 60aa1a01360861113c821ef95230be27ac92fc10 (patch) | |
tree | 013e842f6241cbeba49e8fcc87d56f007f8c0f7a | |
parent | 0d3831f6b65dbb0023061925a8bb746270a0b20a (diff) |
USB: Serial: visor.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: Rusty Russell <rusty@rustcorp.com.au>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/serial/visor.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 97fe0059ed8b..1129aa73c23e 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -51,9 +51,6 @@ static int palm_os_3_probe(struct usb_serial *serial, | |||
51 | static int palm_os_4_probe(struct usb_serial *serial, | 51 | static int palm_os_4_probe(struct usb_serial *serial, |
52 | const struct usb_device_id *id); | 52 | const struct usb_device_id *id); |
53 | 53 | ||
54 | /* Parameters that may be passed into the module. */ | ||
55 | static bool debug; | ||
56 | |||
57 | static struct usb_device_id id_table [] = { | 54 | static struct usb_device_id id_table [] = { |
58 | { USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_VISOR_ID), | 55 | { USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_VISOR_ID), |
59 | .driver_info = (kernel_ulong_t)&palm_os_3_probe }, | 56 | .driver_info = (kernel_ulong_t)&palm_os_3_probe }, |
@@ -624,6 +621,3 @@ module_usb_serial_driver(serial_drivers, id_table_combined); | |||
624 | MODULE_AUTHOR(DRIVER_AUTHOR); | 621 | MODULE_AUTHOR(DRIVER_AUTHOR); |
625 | MODULE_DESCRIPTION(DRIVER_DESC); | 622 | MODULE_DESCRIPTION(DRIVER_DESC); |
626 | MODULE_LICENSE("GPL"); | 623 | MODULE_LICENSE("GPL"); |
627 | |||
628 | module_param(debug, bool, S_IRUGO | S_IWUSR); | ||
629 | MODULE_PARM_DESC(debug, "Debug enabled or not"); | ||