Skip to content

Commit

Permalink
[media] cx231xx: get rid of CX231XX_VMUX_DEBUG
Browse files Browse the repository at this point in the history
This macro is not used inside the driver. get rid of it.

Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Feb 16, 2016
1 parent 34ac253 commit 22d50e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions drivers/media/usb/cx231xx/cx231xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
}
Expand Down
1 change: 0 additions & 1 deletion drivers/media/usb/cx231xx/cx231xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ enum cx231xx_itype {
CX231XX_VMUX_CABLE,
CX231XX_RADIO,
CX231XX_VMUX_DVB,
CX231XX_VMUX_DEBUG
};

enum cx231xx_v_input {
Expand Down

0 comments on commit 22d50e9

Please sign in to comment.