summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-09-08 10:14:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 01:04:52 -0200
commitb6b85ff87b6232ba89fba303b7b7b93c893d3523 (patch)
tree2822d92da4527b8051cca5ac6a74719518b9ad93
parent692d5522646fdf432329efbe5092dc9c5ca83e85 (diff)
downloadlinux-3.10-b6b85ff87b6232ba89fba303b7b7b93c893d3523.tar.gz
linux-3.10-b6b85ff87b6232ba89fba303b7b7b93c893d3523.tar.bz2
linux-3.10-b6b85ff87b6232ba89fba303b7b7b93c893d3523.zip
V4L/DVB: cx88: Fix some gcc warnings
drivers/media/video/cx88/cx88-dsp.c: In function ‘detect_a2_a2m_eiaj’: drivers/media/video/cx88/cx88-dsp.c:158: warning: ‘carrier_freq’ may be used uninitialized in this function drivers/media/video/cx88/cx88-dsp.c:158: warning: ‘stereo_freq’ may be used uninitialized in this function drivers/media/video/cx88/cx88-dsp.c:158: warning: ‘dual_freq’ may be used uninitialized in this function Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/cx88/cx88-dsp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/video/cx88/cx88-dsp.c b/drivers/media/video/cx88/cx88-dsp.c
index e1d6eef233d..2e6a92fbb97 100644
--- a/drivers/media/video/cx88/cx88-dsp.c
+++ b/drivers/media/video/cx88/cx88-dsp.c
@@ -175,13 +175,7 @@ static s32 detect_a2_a2m_eiaj(struct cx88_core *core, s16 x[], u32 N)
stereo_freq = FREQ_EIAJ_STEREO;
dual_freq = FREQ_EIAJ_DUAL;
break;
- case WW_NONE:
- case WW_BTSC:
- case WW_I:
- case WW_L:
- case WW_I2SPT:
- case WW_FM:
- case WW_I2SADC:
+ default:
printk(KERN_WARNING "%s/0: unsupported audio mode %d for %s\n",
core->name, core->tvaudio, __func__);
return UNSET;