Commit bd966e47 authored by Santosh Nayak's avatar Santosh Nayak Committed by David S. Miller

Driver: Atm: Remove 'break' after 'return' statement.

'break' is unnecessary after 'return' statement.
Remove all such 'break' as clean up.
Signed-off-by: default avatarSantosh Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cfcadc97
...@@ -2183,7 +2183,6 @@ static int hrz_open (struct atm_vcc *atm_vcc) ...@@ -2183,7 +2183,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
default: default:
PRINTD (DBG_QOS|DBG_VCC, "Bad AAL!"); PRINTD (DBG_QOS|DBG_VCC, "Bad AAL!");
return -EINVAL; return -EINVAL;
break;
} }
// TX traffic parameters // TX traffic parameters
...@@ -2358,7 +2357,6 @@ static int hrz_open (struct atm_vcc *atm_vcc) ...@@ -2358,7 +2357,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
default: { default: {
PRINTD (DBG_QOS, "unsupported TX traffic class"); PRINTD (DBG_QOS, "unsupported TX traffic class");
return -EINVAL; return -EINVAL;
break;
} }
} }
} }
...@@ -2434,7 +2432,6 @@ static int hrz_open (struct atm_vcc *atm_vcc) ...@@ -2434,7 +2432,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
default: { default: {
PRINTD (DBG_QOS, "unsupported RX traffic class"); PRINTD (DBG_QOS, "unsupported RX traffic class");
return -EINVAL; return -EINVAL;
break;
} }
} }
} }
...@@ -2582,7 +2579,6 @@ static int hrz_getsockopt (struct atm_vcc * atm_vcc, int level, int optname, ...@@ -2582,7 +2579,6 @@ static int hrz_getsockopt (struct atm_vcc * atm_vcc, int level, int optname,
// break; // break;
default: default:
return -ENOPROTOOPT; return -ENOPROTOOPT;
break;
}; };
break; break;
} }
...@@ -2602,7 +2598,6 @@ static int hrz_setsockopt (struct atm_vcc * atm_vcc, int level, int optname, ...@@ -2602,7 +2598,6 @@ static int hrz_setsockopt (struct atm_vcc * atm_vcc, int level, int optname,
// break; // break;
default: default:
return -ENOPROTOOPT; return -ENOPROTOOPT;
break;
}; };
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment