summaryrefslogtreecommitdiffstats
path: root/net/sctp/socket.c
diff options
context:
space:
mode:
authorJoe Perches2011-07-01 11:43:11 +0200
committerDavid S. Miller2011-07-02 01:11:16 +0200
commit7fd71b1e0787d4d32c6225ca59e23e522cd67cc3 (patch)
tree4668b677bfc6f1519ba1e02361c0ccdaa9ccd3e2 /net/sctp/socket.c
parentnetrom: Reduce switch/case indent (diff)
downloadkernel-qcow2-linux-7fd71b1e0787d4d32c6225ca59e23e522cd67cc3.tar.gz
kernel-qcow2-linux-7fd71b1e0787d4d32c6225ca59e23e522cd67cc3.tar.xz
kernel-qcow2-linux-7fd71b1e0787d4d32c6225ca59e23e522cd67cc3.zip
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,
return -EFAULT;
switch (val.sauth_chunk) {
- case SCTP_CID_INIT:
- case SCTP_CID_INIT_ACK:
- case SCTP_CID_SHUTDOWN_COMPLETE:
- case SCTP_CID_AUTH:
- return -EINVAL;
+ case SCTP_CID_INIT:
+ case SCTP_CID_INIT_ACK:
+ case SCTP_CID_SHUTDOWN_COMPLETE:
+ case SCTP_CID_AUTH:
+ return -EINVAL;
}
/* add this chunk id to the endpoint */