]> git.ipfire.org Git - thirdparty/linux.git/commit
net: stmmac: Drop redundant dwxgmac_tc_ops variable
authorFurong Xu <0x1207@gmail.com>
Thu, 12 Dec 2024 03:33:25 +0000 (11:33 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Dec 2024 03:32:29 +0000 (19:32 -0800)
commit9bc5c9515b4817e994579b21c32c033cbb3b0e6c
treedbc22cb853b4f1907113d0d7aea63b7c24c53338
parent2c27c7663390d28bc71e97500eb68e0ce2a7223f
net: stmmac: Drop redundant dwxgmac_tc_ops variable

dwmac510_tc_ops and dwxgmac_tc_ops are completely identical,
keep dwmac510_tc_ops to provide better backward compatibility.

Signed-off-by: Furong Xu <0x1207@gmail.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Link: https://patch.msgid.link/20241212033325.282817-1-0x1207@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/hwif.c
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c