ASoC: ak4642: Remove redundant break
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 13 Sep 2013 10:20:50 +0000 (15:50 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:53:09 +0000 (00:53 +0100)
'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>
sound/soc/codecs/ak4642.c

index 2d037870970221b2c2a87f4f96cac4886d606cb9..21c35ed778cccfcc38c250ffb1e6663eb25fba68 100644 (file)
@@ -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);