aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/socket.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-07-01 05:43:11 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-01 19:11:16 -0400
commit7fd71b1e0787d4d32c6225ca59e23e522cd67cc3 (patch)
tree4668b677bfc6f1519ba1e02361c0ccdaa9ccd3e2 /net/sctp/socket.c
parentc485538901e0334a3016241bf73b864216ff2e73 (diff)
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>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r--net/sctp/socket.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index fd31b3616a33..1c6aec1f9ec4 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -3257,11 +3257,11 @@ static int sctp_setsockopt_auth_chunk(struct sock *sk,
3257 return -EFAULT; 3257 return -EFAULT;
3258 3258
3259 switch (val.sauth_chunk) { 3259 switch (val.sauth_chunk) {
3260 case SCTP_CID_INIT: 3260 case SCTP_CID_INIT:
3261 case SCTP_CID_INIT_ACK: 3261 case SCTP_CID_INIT_ACK:
3262 case SCTP_CID_SHUTDOWN_COMPLETE: 3262 case SCTP_CID_SHUTDOWN_COMPLETE:
3263 case SCTP_CID_AUTH: 3263 case SCTP_CID_AUTH:
3264 return -EINVAL; 3264 return -EINVAL;
3265 } 3265 }
3266 3266
3267 /* add this chunk id to the endpoint */ 3267 /* add this chunk id to the endpoint */