mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
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>
This commit is contained in:
parent
cfcadc97a8
commit
bd966e4713
1 changed files with 0 additions and 5 deletions
|
@ -2183,7 +2183,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
|
|||
default:
|
||||
PRINTD (DBG_QOS|DBG_VCC, "Bad AAL!");
|
||||
return -EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
// TX traffic parameters
|
||||
|
@ -2358,7 +2357,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
|
|||
default: {
|
||||
PRINTD (DBG_QOS, "unsupported TX traffic class");
|
||||
return -EINVAL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2434,7 +2432,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
|
|||
default: {
|
||||
PRINTD (DBG_QOS, "unsupported RX traffic class");
|
||||
return -EINVAL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2582,7 +2579,6 @@ static int hrz_getsockopt (struct atm_vcc * atm_vcc, int level, int optname,
|
|||
// break;
|
||||
default:
|
||||
return -ENOPROTOOPT;
|
||||
break;
|
||||
};
|
||||
break;
|
||||
}
|
||||
|
@ -2602,7 +2598,6 @@ static int hrz_setsockopt (struct atm_vcc * atm_vcc, int level, int optname,
|
|||
// break;
|
||||
default:
|
||||
return -ENOPROTOOPT;
|
||||
break;
|
||||
};
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue