From: David Härdeman Date: Mon, 1 May 2017 16:04:31 +0000 (-0300) Subject: [media] lirc_dev: remove unused module parameter X-Git-Tag: v5.15~10718^2~334 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e435e572ef9a890512b76b00e42e16f5553ca8f;p=platform%2Fkernel%2Flinux-starfive.git [media] lirc_dev: remove unused module parameter The "debug" parameter isn't actually used anywhere. Signed-off-by: David Härdeman Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c index c2cb5e1..e01b6e6 100644 --- a/drivers/media/rc/lirc_dev.c +++ b/drivers/media/rc/lirc_dev.c @@ -36,8 +36,6 @@ #include #include -static bool debug; - #define IRCTL_DEV_NAME "BaseRemoteCtl" #define NOPLUG -1 #define LOGHEAD "lirc_dev (%s[%d]): " @@ -623,6 +621,3 @@ module_exit(lirc_dev_exit); MODULE_DESCRIPTION("LIRC base driver module"); MODULE_AUTHOR("Artur Lipowski"); MODULE_LICENSE("GPL"); - -module_param(debug, bool, S_IRUGO | S_IWUSR); -MODULE_PARM_DESC(debug, "Enable debugging messages");