Commit 747edc0
sctp: merge two if statements to one
Two if statements do the same work, we can merge them to
one. And fix some typos. There is just code simplification,
no functional changes.
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 3dc0a54 commit 747edc0
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
550 | 545 | | |
551 | 546 | | |
552 | 547 | | |
553 | | - | |
| 548 | + | |
| 549 | + | |
554 | 550 | | |
555 | 551 | | |
556 | 552 | | |
| |||
0 commit comments