diff options
author | wangweidong <wangweidong1@huawei.com> | 2013-12-23 05:16:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-26 19:47:48 +0100 |
commit | 8d72651d86e9c702d37dd9ef9f084ce027af90a7 (patch) | |
tree | 7e5406d0de3cdc025e2c892bd7addb3e54732959 /net/sctp/protocol.c | |
parent | sctp: fix checkpatch errors with indent (diff) | |
download | linux-8d72651d86e9c702d37dd9ef9f084ce027af90a7.tar.xz linux-8d72651d86e9c702d37dd9ef9f084ce027af90a7.zip |
sctp: fix checkpatch errors with open brace '{' and trailing statements
fix checkpatch errors below:
ERROR: that open brace { should be on the previous line
ERROR: open brace '{' following function declarations go on the next line
ERROR: trailing statements should be on next line
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 19bd4c5bdae9..34b7726bcd7f 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -1065,8 +1065,8 @@ static struct sctp_af sctp_af_inet = { #endif }; -struct sctp_pf *sctp_get_pf_specific(sa_family_t family) { - +struct sctp_pf *sctp_get_pf_specific(sa_family_t family) +{ switch (family) { case PF_INET: return sctp_pf_inet_specific; |