From: Greg Kroah-Hartman Date: Tue, 18 Sep 2012 09:15:40 +0000 (+0100) Subject: USB: Serial: iuu_phoenix.c: remove debug module parameter X-Git-Tag: upstream/snapshot3+hdmi~6591^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca98bb7c4932eeb725be1dd940127305190ffb96;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git USB: Serial: iuu_phoenix.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: Johan Hovold CC: Alan Stern CC: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index f9832b7..91e6e37 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c @@ -32,13 +32,6 @@ #include "iuu_phoenix.h" #include - -#ifdef CONFIG_USB_SERIAL_DEBUG -static bool debug = 1; -#else -static bool debug; -#endif - /* * Version Information */ @@ -1248,8 +1241,6 @@ MODULE_DESCRIPTION(DRIVER_DESC); MODULE_LICENSE("GPL"); MODULE_VERSION(DRIVER_VERSION); -module_param(debug, bool, S_IRUGO | S_IWUSR); -MODULE_PARM_DESC(debug, "Debug enabled or not"); module_param(xmas, bool, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(xmas, "Xmas colors enabled or not");