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>
This commit is contained in:
committed by
David S. Miller
parent
f7010e6144
commit
8d72651d86
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user