]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[media] cx231xx: get rid of CX231XX_VMUX_DEBUG
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 12 Feb 2016 11:17:14 +0000 (09:17 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 16 Feb 2016 10:57:41 +0000 (08:57 -0200)
This macro is not used inside the driver. get rid of it.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-video.c
drivers/media/usb/cx231xx/cx231xx.h

index 7222b1c27d40ef605499aa180b70f2a6c0e7d087..6414188ffdfac89d807fa885e707688ec9532f07 100644 (file)
@@ -1103,7 +1103,6 @@ static const char *iname[] = {
        [CX231XX_VMUX_TELEVISION] = "Television",
        [CX231XX_VMUX_CABLE]      = "Cable TV",
        [CX231XX_VMUX_DVB]        = "DVB",
-       [CX231XX_VMUX_DEBUG]      = "for debug only",
 };
 
 void cx231xx_v4l2_create_entities(struct cx231xx *dev)
@@ -1136,7 +1135,7 @@ void cx231xx_v4l2_create_entities(struct cx231xx *dev)
                        if (dev->tuner_type == TUNER_ABSENT)
                                continue;
                        /* fall though */
-               default: /* CX231XX_VMUX_DEBUG */
+               default: /* just to shut up a gcc warning */
                        ent->function = MEDIA_ENT_F_CONN_RF;
                        break;
                }
index 60e14776a6cde0d8dc89cc523b0b526cc1a625e0..69f6d20870f5ed9f98dfced23ec8dbc3d688be0f 100644 (file)
@@ -281,7 +281,6 @@ enum cx231xx_itype {
        CX231XX_VMUX_CABLE,
        CX231XX_RADIO,
        CX231XX_VMUX_DVB,
-       CX231XX_VMUX_DEBUG
 };
 
 enum cx231xx_v_input {