diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-13 06:20:50 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-16 19:53:09 -0400 |
commit | 0feb23d1bdf31db903069d3d94892e56b5c11981 (patch) | |
tree | 19ad24b327c2cc89a11e9647bd3d0a8d1d76e587 /sound/soc/codecs/ak4642.c | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) |
ASoC: ak4642: Remove redundant break
'break' after return statement is redundant. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/ak4642.c')
-rw-r--r-- | sound/soc/codecs/ak4642.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c index 2d0378709702..21c35ed778cc 100644 --- a/sound/soc/codecs/ak4642.c +++ b/sound/soc/codecs/ak4642.c | |||
@@ -352,7 +352,6 @@ static int ak4642_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) | |||
352 | */ | 352 | */ |
353 | default: | 353 | default: |
354 | return -EINVAL; | 354 | return -EINVAL; |
355 | break; | ||
356 | } | 355 | } |
357 | snd_soc_update_bits(codec, MD_CTL1, DIF_MASK, data); | 356 | snd_soc_update_bits(codec, MD_CTL1, DIF_MASK, data); |
358 | 357 | ||
@@ -405,7 +404,6 @@ static int ak4642_dai_hw_params(struct snd_pcm_substream *substream, | |||
405 | break; | 404 | break; |
406 | default: | 405 | default: |
407 | return -EINVAL; | 406 | return -EINVAL; |
408 | break; | ||
409 | } | 407 | } |
410 | snd_soc_update_bits(codec, MD_CTL2, FS_MASK, rate); | 408 | snd_soc_update_bits(codec, MD_CTL2, FS_MASK, rate); |
411 | 409 | ||