diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-09-08 09:14:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:04:52 -0400 |
commit | b6b85ff87b6232ba89fba303b7b7b93c893d3523 (patch) | |
tree | 2822d92da4527b8051cca5ac6a74719518b9ad93 /drivers/media | |
parent | 692d5522646fdf432329efbe5092dc9c5ca83e85 (diff) |
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/cx88/cx88-dsp.c | 8 |
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 e1d6eef233dc..2e6a92fbb977 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) | |||
175 | stereo_freq = FREQ_EIAJ_STEREO; | 175 | stereo_freq = FREQ_EIAJ_STEREO; |
176 | dual_freq = FREQ_EIAJ_DUAL; | 176 | dual_freq = FREQ_EIAJ_DUAL; |
177 | break; | 177 | break; |
178 | case WW_NONE: | 178 | default: |
179 | case WW_BTSC: | ||
180 | case WW_I: | ||
181 | case WW_L: | ||
182 | case WW_I2SPT: | ||
183 | case WW_FM: | ||
184 | case WW_I2SADC: | ||
185 | printk(KERN_WARNING "%s/0: unsupported audio mode %d for %s\n", | 179 | printk(KERN_WARNING "%s/0: unsupported audio mode %d for %s\n", |
186 | core->name, core->tvaudio, __func__); | 180 | core->name, core->tvaudio, __func__); |
187 | return UNSET; | 181 | return UNSET; |