Commit c06fef9
net: lan966x: ditch tx->last_in_use variable
This variable is used in the tx path to determine the last used DCB. The
library has the variable last_dcb for the exact same purpose. Ditch the
last_in_use variable throughout.
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent 8cdd0bd commit c06fef9
File tree
2 files changed
+4
-18
lines changed- drivers/net/ethernet/microchip/lan966x
2 files changed
+4
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | 296 | | |
298 | 297 | | |
299 | 298 | | |
| |||
598 | 597 | | |
599 | 598 | | |
600 | 599 | | |
601 | | - | |
| 600 | + | |
602 | 601 | | |
603 | 602 | | |
604 | 603 | | |
605 | 604 | | |
606 | 605 | | |
607 | 606 | | |
608 | | - | |
| 607 | + | |
609 | 608 | | |
610 | 609 | | |
611 | | - | |
612 | | - | |
613 | 610 | | |
614 | 611 | | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | 612 | | |
621 | 613 | | |
622 | 614 | | |
623 | 615 | | |
624 | 616 | | |
625 | 617 | | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | 618 | | |
630 | 619 | | |
631 | 620 | | |
| |||
716 | 705 | | |
717 | 706 | | |
718 | 707 | | |
719 | | - | |
| 708 | + | |
720 | 709 | | |
721 | 710 | | |
722 | 711 | | |
| |||
799 | 788 | | |
800 | 789 | | |
801 | 790 | | |
802 | | - | |
| 791 | + | |
803 | 792 | | |
804 | 793 | | |
805 | 794 | | |
| |||
985 | 974 | | |
986 | 975 | | |
987 | 976 | | |
988 | | - | |
989 | 977 | | |
990 | 978 | | |
991 | 979 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
236 | | - | |
237 | 235 | | |
238 | 236 | | |
239 | 237 | | |
| |||
0 commit comments