]> git.dujemihanovic.xyz Git - linux.git/commit
net: lan966x: ditch tx->last_in_use variable
authorDaniel Machon <daniel.machon@microchip.com>
Thu, 5 Sep 2024 08:06:38 +0000 (10:06 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Sep 2024 09:04:16 +0000 (11:04 +0200)
commitc06fef96c7d599ac6d1cdfd42ffee8c8d59729fe
treeae0edf9508c084243b0e3705f2c6b81c2bf4b666
parent8cdd0bd02283036130396d70183c15a97f3be6b7
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>
drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c
drivers/net/ethernet/microchip/lan966x/lan966x_main.h