diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-14 15:31:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-14 15:31:47 -0400 |
commit | 3da3bf76cb6ccd1fbb9205bfa9e8a13dce6e3238 (patch) | |
tree | f5a42912192875c01175f5e3e688299f2a32dcd9 /drivers/usb/serial/qcserial.c | |
parent | ec035e4b832d690c1e82e6e4cacd055b5b3cc2d5 (diff) |
USB: serial: qcserial.c: remove debug module parameter
Now that the dbg() macro is no longer being used in the driver,
the debug module parameter doesn't do anything at all. So remove
it so as to not confuse people.
CC: "Bjørn Mork" <bjorn@mork.no>
CC: Dan Williams <dcbw@redhat.com>
CC: Thomas Tuttle <ttuttle@chromium.org>
CC: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/qcserial.c')
-rw-r--r-- | drivers/usb/serial/qcserial.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c index bfd50779f0c9..c3ddb65c05f2 100644 --- a/drivers/usb/serial/qcserial.c +++ b/drivers/usb/serial/qcserial.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #define DRIVER_AUTHOR "Qualcomm Inc" | 22 | #define DRIVER_AUTHOR "Qualcomm Inc" |
23 | #define DRIVER_DESC "Qualcomm USB Serial driver" | 23 | #define DRIVER_DESC "Qualcomm USB Serial driver" |
24 | 24 | ||
25 | static bool debug; | ||
26 | |||
27 | #define DEVICE_G1K(v, p) \ | 25 | #define DEVICE_G1K(v, p) \ |
28 | USB_DEVICE(v, p), .driver_info = 1 | 26 | USB_DEVICE(v, p), .driver_info = 1 |
29 | 27 | ||
@@ -305,6 +303,3 @@ module_usb_serial_driver(serial_drivers, id_table); | |||
305 | MODULE_AUTHOR(DRIVER_AUTHOR); | 303 | MODULE_AUTHOR(DRIVER_AUTHOR); |
306 | MODULE_DESCRIPTION(DRIVER_DESC); | 304 | MODULE_DESCRIPTION(DRIVER_DESC); |
307 | MODULE_LICENSE("GPL v2"); | 305 | MODULE_LICENSE("GPL v2"); |
308 | |||
309 | module_param(debug, bool, S_IRUGO | S_IWUSR); | ||
310 | MODULE_PARM_DESC(debug, "Debug enabled or not"); | ||