[alsa-devel] [PATCH 1/1] ASoC: ak4642: Remove redundant break
'break' after return statement is redundant. Remove it.
Signed-off-by: Sachin Kamat sachin.kamat@linaro.org --- sound/soc/codecs/ak4642.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c index 2d03787..21c35ed 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) */ default: return -EINVAL; - break; } snd_soc_update_bits(codec, MD_CTL1, DIF_MASK, data);
@@ -405,7 +404,6 @@ static int ak4642_dai_hw_params(struct snd_pcm_substream *substream, break; default: return -EINVAL; - break; } snd_soc_update_bits(codec, MD_CTL2, FS_MASK, rate);
participants (2)
-
Mark Brown
-
Sachin Kamat