Commit 7744388
tcp: md5: remove redundant l3flag variable
The l3flag variable was redundant as it duplicated the value of
the 'flags' variable which already contains the interface index flag
status from cmd.tcpm_flags. This cleanup simplifies the code by
eliminating unnecessary variable duplication.
Changes:
1. Remove l3flag variable declarations
2. Replace l3flag usage with existing 'flags' variable
3. Maintain identical functionality with reduced complexity
Signed-off-by: Geliang Tang <[email protected]>1 parent 7507f19 commit 7744388
2 files changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1519 | 1519 | | |
1520 | 1520 | | |
1521 | 1521 | | |
1522 | | - | |
1523 | 1522 | | |
1524 | 1523 | | |
1525 | 1524 | | |
| |||
1532 | 1531 | | |
1533 | 1532 | | |
1534 | 1533 | | |
1535 | | - | |
1536 | 1534 | | |
1537 | 1535 | | |
1538 | 1536 | | |
| |||
1541 | 1539 | | |
1542 | 1540 | | |
1543 | 1541 | | |
1544 | | - | |
1545 | | - | |
| 1542 | + | |
1546 | 1543 | | |
1547 | 1544 | | |
1548 | 1545 | | |
| |||
1570 | 1567 | | |
1571 | 1568 | | |
1572 | 1569 | | |
1573 | | - | |
| 1570 | + | |
1574 | 1571 | | |
1575 | 1572 | | |
1576 | 1573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
614 | 613 | | |
615 | 614 | | |
616 | 615 | | |
| |||
623 | 622 | | |
624 | 623 | | |
625 | 624 | | |
626 | | - | |
627 | 625 | | |
628 | 626 | | |
629 | 627 | | |
| |||
635 | 633 | | |
636 | 634 | | |
637 | 635 | | |
638 | | - | |
639 | | - | |
| 636 | + | |
640 | 637 | | |
641 | 638 | | |
642 | 639 | | |
| |||
671 | 668 | | |
672 | 669 | | |
673 | 670 | | |
674 | | - | |
| 671 | + | |
675 | 672 | | |
676 | 673 | | |
677 | 674 | | |
| |||
683 | 680 | | |
684 | 681 | | |
685 | 682 | | |
686 | | - | |
| 683 | + | |
687 | 684 | | |
688 | 685 | | |
689 | 686 | | |
| |||
0 commit comments