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
@@ -336,7 +336,8 @@ static struct sctp_ulpevent *sctp_make_reassembled_event(struct net *net,
|
||||
pos = f_frag->next;
|
||||
|
||||
/* Get the last skb in the f_frag's frag_list if present. */
|
||||
for (last = list; list; last = list, list = list->next);
|
||||
for (last = list; list; last = list, list = list->next)
|
||||
;
|
||||
|
||||
/* Add the list of remaining fragments to the first fragments
|
||||
* frag_list.
|
||||
|
||||
Reference in New Issue
Block a user