From: Greg Kroah-Hartman Date: Tue, 18 Sep 2012 09:15:12 +0000 (+0100) Subject: USB: Serial: ark3116.c: remove debug module parameter X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7ca98ceaa9e241b44349cc038435876132bd3c15;p=deliverable%2Flinux.git USB: Serial: ark3116.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: Bart Hartgers Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/ark3116.c b/drivers/usb/serial/ark3116.c index 07956e4f494f..d154501867a3 100644 --- a/drivers/usb/serial/ark3116.c +++ b/drivers/usb/serial/ark3116.c @@ -37,7 +37,6 @@ #include #include -static bool debug; /* * Version information */ @@ -749,9 +748,6 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_DESCRIPTION(DRIVER_DESC); -module_param(debug, bool, S_IRUGO | S_IWUSR); -MODULE_PARM_DESC(debug, "Enable debug"); - /* * The following describes what I learned from studying the old * ark3116.c driver, disassembling the windows driver, and some lucky