summaryrefslogtreecommitdiffstats
path: root/net/sctp/auth.c
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2013-12-23 12:16:53 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-26 13:47:48 -0500
commit8d72651d86e9c702d37dd9ef9f084ce027af90a7 (patch)
tree7e5406d0de3cdc025e2c892bd7addb3e54732959 /net/sctp/auth.c
parentf7010e61442c80333b38aa026a551043a341fb8d (diff)
downloadop-kernel-dev-8d72651d86e9c702d37dd9ef9f084ce027af90a7.zip
op-kernel-dev-8d72651d86e9c702d37dd9ef9f084ce027af90a7.tar.gz
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/auth.c')
-rw-r--r--net/sctp/auth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sctp/auth.c b/net/sctp/auth.c
index a594b3c..683c7d1 100644
--- a/net/sctp/auth.c
+++ b/net/sctp/auth.c
@@ -499,8 +499,7 @@ void sctp_auth_destroy_hmacs(struct crypto_hash *auth_hmacs[])
if (!auth_hmacs)
return;
- for (i = 0; i < SCTP_AUTH_NUM_HMACS; i++)
- {
+ for (i = 0; i < SCTP_AUTH_NUM_HMACS; i++) {
if (auth_hmacs[i])
crypto_free_hash(auth_hmacs[i]);
}
OpenPOWER on IntegriCloud