[alsa-devel] [PATCH] ASoC: ab8500: remove the useless 'break' after 'return'
Xiubo Li
lixiubo at cmss.chinamobile.com
Tue Jan 19 04:13:12 CET 2016
'break' here is not useful after 'return' or 'goto'.
Signed-off-by: Xiubo Li <lixiubo at cmss.chinamobile.com>
---
sound/soc/codecs/ab8500-codec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c
index affb192..b6820a1 100644
--- a/sound/soc/codecs/ab8500-codec.c
+++ b/sound/soc/codecs/ab8500-codec.c
@@ -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);
--
1.8.3.1
More information about the Alsa-devel
mailing list