netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/isdn/divert: beautify code, delete useless 'break'
@ 2013-04-01  1:52 Chen Gang
  2013-04-01 14:04 ` Sergei Shtylyov
  0 siblings, 1 reply; 5+ messages in thread
From: Chen Gang @ 2013-04-01  1:52 UTC (permalink / raw)
  To: isdn, Jiri Slaby, 'Jiri Kosina', tilman
  Cc: David Miller, netdev@vger.kernel.org >> netdev


  delete useless break statements.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 drivers/isdn/divert/isdn_divert.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/isdn/divert/isdn_divert.c b/drivers/isdn/divert/isdn_divert.c
index db432e6..76d505e 100644
--- a/drivers/isdn/divert/isdn_divert.c
+++ b/drivers/isdn/divert/isdn_divert.c
@@ -442,7 +442,6 @@ static int isdn_divert_icall(isdn_ctrl *ic)
 		switch (dv->rule.action) {
 		case DEFLECT_IGNORE:
 			return (0);
-			break;
 
 		case DEFLECT_ALERT:
 		case DEFLECT_PROCEED:
@@ -511,7 +510,6 @@ static int isdn_divert_icall(isdn_ctrl *ic)
 
 		default:
 			return (0); /* ignore call */
-			break;
 		} /* switch action */
 		break;
 	} /* scan_table */
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-02 18:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-01  1:52 [PATCH] drivers/isdn/divert: beautify code, delete useless 'break' Chen Gang
2013-04-01 14:04 ` Sergei Shtylyov
2013-04-02  0:44   ` Chen Gang
2013-04-02  1:37   ` [PATCH] ISDN:divert: beautify code: useless 'break', 'return (0)', additional comments Chen Gang
2013-04-02 18:31     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).