[alsa-devel] [PATCH] sound: atmel: trivial code cleanup

Nicolas Ferre nicolas.ferre at atmel.com
Mon Jun 7 15:03:40 CEST 2010


From: Wan ZongShun <mcuos.com at gmail.com>

Remove break after return, it is not needed.

Signed-off-by: Wan ZongShun <mcuos.com at gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre at atmel.com>
---
 sound/soc/atmel/atmel_ssc_dai.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 0b59806..c85844d 100644
--- a/sound/soc/atmel/atmel_ssc_dai.c
+++ b/sound/soc/atmel/atmel_ssc_dai.c
@@ -549,7 +549,6 @@ static int atmel_ssc_hw_params(struct snd_pcm_substream *substream,
 		printk(KERN_WARNING "atmel_ssc_dai: unsupported DAI format 0x%x\n",
 			ssc_p->daifmt);
 		return -EINVAL;
-		break;
 	}
 	pr_debug("atmel_ssc_hw_params: "
 			"RCMR=%08x RFMR=%08x TCMR=%08x TFMR=%08x\n",
-- 
1.5.6.5



More information about the Alsa-devel mailing list