aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-02-21 20:35:11 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:02 -0400
commit8d037ed14d1be0eff67fed0f9b1b333b0d52ec78 (patch)
treefa4387c726dc63d993fb066e0c6838277ce6760e /drivers/media/video/cx18
parent6246d4e1b30aa9404d2603dc09a823aba36d9c13 (diff)
V4L/DVB (10762): cx18: Get rid of unused variables related to video output
Remove variables that were holdovers from ivtv for supporting the CX23415 MPEG decoder output. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18')
-rw-r--r--drivers/media/video/cx18/cx18-driver.c8
-rw-r--r--drivers/media/video/cx18/cx18-driver.h3
2 files changed, 3 insertions, 8 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c
index fcc40bf37f2f..f3b0c946d45d 100644
--- a/drivers/media/video/cx18/cx18-driver.c
+++ b/drivers/media/video/cx18/cx18-driver.c
@@ -884,13 +884,11 @@ static int __devinit cx18_probe(struct pci_dev *pci_dev,
884 884
885 cx18_init_subdevs(cx); 885 cx18_init_subdevs(cx);
886 886
887 if (cx->std & V4L2_STD_525_60) { 887 if (cx->std & V4L2_STD_525_60)
888 cx->is_60hz = 1; 888 cx->is_60hz = 1;
889 cx->is_out_60hz = 1; 889 else
890 } else {
891 cx->is_50hz = 1; 890 cx->is_50hz = 1;
892 cx->is_out_50hz = 1; 891
893 }
894 cx->params.video_gop_size = cx->is_60hz ? 15 : 12; 892 cx->params.video_gop_size = cx->is_60hz ? 15 : 12;
895 893
896 if (cx->options.radio > 0) 894 if (cx->options.radio > 0)
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index 5e1ae91d5325..ece4f281ef42 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/drivers/media/video/cx18/cx18-driver.h
@@ -505,8 +505,6 @@ struct cx18 {
505 const struct cx18_card_tuner_i2c *card_i2c; /* i2c addresses to probe for tuner */ 505 const struct cx18_card_tuner_i2c *card_i2c; /* i2c addresses to probe for tuner */
506 u8 is_50hz; 506 u8 is_50hz;
507 u8 is_60hz; 507 u8 is_60hz;
508 u8 is_out_50hz; /* FIXME - remove, we don't have an output decoder */
509 u8 is_out_60hz; /* FIXME - remove, we don't have an output decoder */
510 u8 nof_inputs; /* number of video inputs */ 508 u8 nof_inputs; /* number of video inputs */
511 u8 nof_audio_inputs; /* number of audio inputs */ 509 u8 nof_audio_inputs; /* number of audio inputs */
512 u16 buffer_id; /* buffer ID counter */ 510 u16 buffer_id; /* buffer ID counter */
@@ -591,7 +589,6 @@ struct cx18 {
591 /* codec settings */ 589 /* codec settings */
592 u32 audio_input; 590 u32 audio_input;
593 u32 active_input; 591 u32 active_input;
594 u32 active_output;
595 v4l2_std_id std; 592 v4l2_std_id std;
596 v4l2_std_id tuner_std; /* The norm of the tuner (fixed) */ 593 v4l2_std_id tuner_std; /* The norm of the tuner (fixed) */
597}; 594};