From: Greg Kroah-Hartman Date: Tue, 18 Sep 2012 09:15:09 +0000 (+0100) Subject: USB: Serial: serqt_usb2.c: remove debug module parameter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fee58d4821fc8765a7d47ab894385c6de63149d0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git USB: Serial: serqt_usb2.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 CC: Alan Stern CC: Mauro Carvalho Chehab CC: "Justin P. Mattock" Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c index b1e8b9dc9310..376269b2bbfc 100644 --- a/drivers/staging/serqt_usb2/serqt_usb2.c +++ b/drivers/staging/serqt_usb2/serqt_usb2.c @@ -16,8 +16,6 @@ #include #include -static bool debug; - /* Version Information */ #define DRIVER_VERSION "v2.14" #define DRIVER_AUTHOR "Tim Gobeli, Quatech, Inc" @@ -1527,6 +1525,3 @@ module_usb_serial_driver(serial_drivers, id_table); MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_DESCRIPTION(DRIVER_DESC); MODULE_LICENSE("GPL"); - -module_param(debug, bool, S_IRUGO | S_IWUSR); -MODULE_PARM_DESC(debug, "Debug enabled or not");