ASoC: ab8500: remove the useless 'break' after 'return'
authorXiubo Li <lixiubo@cmss.chinamobile.com>
Tue, 19 Jan 2016 03:13:12 +0000 (11:13 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 22 Jan 2016 16:46:17 +0000 (16:46 +0000)
'break' here is not useful after 'return' or 'goto'.

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ab8500-codec.c

index affb192238a403b88dc38f3e76e0c54440779ea0..b6820a1f16c7dc051336716e124e06f1a854c500 100644 (file)
@@ -2134,7 +2134,6 @@ static int ab8500_codec_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
                        "%s: ERROR: Unsupporter master mask 0x%x\n",
                        __func__, fmt & SND_SOC_DAIFMT_MASTER_MASK);
                return -EINVAL;
-               break;
        }
 
        snd_soc_update_bits(codec, AB8500_DIGIFCONF3, mask, val);