Commit 0feb23d1 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown

ASoC: ak4642: Remove redundant break

'break' after return statement is redundant. Remove it.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 272b98c6
...@@ -352,7 +352,6 @@ static int ak4642_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) ...@@ -352,7 +352,6 @@ static int ak4642_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
*/ */
default: default:
return -EINVAL; return -EINVAL;
break;
} }
snd_soc_update_bits(codec, MD_CTL1, DIF_MASK, data); 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, ...@@ -405,7 +404,6 @@ static int ak4642_dai_hw_params(struct snd_pcm_substream *substream,
break; break;
default: default:
return -EINVAL; return -EINVAL;
break;
} }
snd_soc_update_bits(codec, MD_CTL2, FS_MASK, rate); snd_soc_update_bits(codec, MD_CTL2, FS_MASK, rate);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment