[alsa-devel] [PATCH] ASoC: ux500: Remove unuseful break after return

Codrut Grosu codrut.cristian.grosu at gmail.com
Sat Feb 25 20:41:25 CET 2017


This was reported by checkpatch.pl

Signed-off-by: Codrut GROSU <codrut.cristian.grosu at gmail.com>
---
 sound/soc/ux500/ux500_msp_i2s.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/ux500/ux500_msp_i2s.c b/sound/soc/ux500/ux500_msp_i2s.c
index 959d7b4..bd5266a 100644
--- a/sound/soc/ux500/ux500_msp_i2s.c
+++ b/sound/soc/ux500/ux500_msp_i2s.c
@@ -604,7 +604,6 @@ int ux500_msp_i2s_trigger(struct ux500_msp *msp, int cmd, int direction)
 		break;
 	default:
 		return -EINVAL;
-		break;
 	}

 	return 0;
--
1.9.1



More information about the Alsa-devel mailing list