sctp: Reduce switch/case indent
Make the case labels the same indent as the switch. git diff -w shows useless break;s removed after returns and a comment added to an unnecessary default: break; because of a dubious gcc warning. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c485538901
commit
7fd71b1e07
@@ -4024,14 +4024,15 @@ sctp_disposition_t sctp_sf_eat_auth(const struct sctp_endpoint *ep,
|
|||||||
case SCTP_IERROR_AUTH_BAD_KEYID:
|
case SCTP_IERROR_AUTH_BAD_KEYID:
|
||||||
case SCTP_IERROR_BAD_SIG:
|
case SCTP_IERROR_BAD_SIG:
|
||||||
return sctp_sf_pdiscard(ep, asoc, type, arg, commands);
|
return sctp_sf_pdiscard(ep, asoc, type, arg, commands);
|
||||||
break;
|
|
||||||
case SCTP_IERROR_PROTO_VIOLATION:
|
case SCTP_IERROR_PROTO_VIOLATION:
|
||||||
return sctp_sf_violation_chunklen(ep, asoc, type, arg,
|
return sctp_sf_violation_chunklen(ep, asoc, type, arg,
|
||||||
commands);
|
commands);
|
||||||
break;
|
|
||||||
case SCTP_IERROR_NOMEM:
|
case SCTP_IERROR_NOMEM:
|
||||||
return SCTP_DISPOSITION_NOMEM;
|
return SCTP_DISPOSITION_NOMEM;
|
||||||
default:
|
|
||||||
|
default: /* Prevent gcc warnings */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user