aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorSantosh Nayak <santoshprasadnayak@gmail.com>2012-04-02 21:47:18 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-04 18:07:43 -0400
commitbd966e471391d7ee028bf54ac5a2f25415710713 (patch)
tree899feeb2c12ff116f4121b918bc2451ffd3a3471 /drivers/atm
parentcfcadc97a890b81f619715739ef101f8c2010e6b (diff)
Driver: Atm: Remove 'break' after 'return' statement.
'break' is unnecessary after 'return' statement. Remove all such 'break' as clean up. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/horizon.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c
index b81210330aca..71c801bb6845 100644
--- a/drivers/atm/horizon.c
+++ b/drivers/atm/horizon.c
@@ -2183,7 +2183,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
2183 default: 2183 default:
2184 PRINTD (DBG_QOS|DBG_VCC, "Bad AAL!"); 2184 PRINTD (DBG_QOS|DBG_VCC, "Bad AAL!");
2185 return -EINVAL; 2185 return -EINVAL;
2186 break;
2187 } 2186 }
2188 2187
2189 // TX traffic parameters 2188 // TX traffic parameters
@@ -2358,7 +2357,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
2358 default: { 2357 default: {
2359 PRINTD (DBG_QOS, "unsupported TX traffic class"); 2358 PRINTD (DBG_QOS, "unsupported TX traffic class");
2360 return -EINVAL; 2359 return -EINVAL;
2361 break;
2362 } 2360 }
2363 } 2361 }
2364 } 2362 }
@@ -2434,7 +2432,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
2434 default: { 2432 default: {
2435 PRINTD (DBG_QOS, "unsupported RX traffic class"); 2433 PRINTD (DBG_QOS, "unsupported RX traffic class");
2436 return -EINVAL; 2434 return -EINVAL;
2437 break;
2438 } 2435 }
2439 } 2436 }
2440 } 2437 }
@@ -2582,7 +2579,6 @@ static int hrz_getsockopt (struct atm_vcc * atm_vcc, int level, int optname,
2582// break; 2579// break;
2583 default: 2580 default:
2584 return -ENOPROTOOPT; 2581 return -ENOPROTOOPT;
2585 break;
2586 }; 2582 };
2587 break; 2583 break;
2588 } 2584 }
@@ -2602,7 +2598,6 @@ static int hrz_setsockopt (struct atm_vcc * atm_vcc, int level, int optname,
2602// break; 2598// break;
2603 default: 2599 default:
2604 return -ENOPROTOOPT; 2600 return -ENOPROTOOPT;
2605 break;
2606 }; 2601 };
2607 break; 2602 break;
2608 } 2603 }