From: Greg Kroah-Hartman Date: Tue, 18 Sep 2012 09:16:28 +0000 (+0100) Subject: USB: Serial: whiteheat.c: remove debug module parameter X-Git-Tag: firefly_0821_release~3680^2~1975^2~38 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=07764958947c381ef095fc69503c1ef1775f316e;p=firefly-linux-kernel-4.4.55.git USB: Serial: whiteheat.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: Support Department Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index 64d3840673aa..80555fc8c95d 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c @@ -36,8 +36,6 @@ #include #include "whiteheat.h" /* WhiteHEAT specific commands */ -static bool debug; - #ifndef CMSPAR #define CMSPAR 0 #endif @@ -918,6 +916,3 @@ MODULE_LICENSE("GPL"); MODULE_FIRMWARE("whiteheat.fw"); MODULE_FIRMWARE("whiteheat_loader.fw"); - -module_param(debug, bool, S_IRUGO | S_IWUSR); -MODULE_PARM_DESC(debug, "Debug enabled or not");