Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1588210

[PATCH] ASoC: ux500: Remove unuseful break after return

From Codrut Grosu <codrut.cristian.grosu@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] ASoC: ux500: Remove unuseful break after return
Date 2017-02-25 20:50 +0100
Message-ID <teQvT-46r-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This was reported by checkpatch.pl

Signed-off-by: Codrut GROSU <codrut.cristian.grosu@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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] ASoC: ux500: Remove unuseful break after return Codrut Grosu <codrut.cristian.grosu@gmail.com> - 2017-02-25 20:50 +0100

csiph-web