]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: remove unused get_addr() callback
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Tue, 17 May 2022 08:16:01 +0000 (10:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 May 2022 12:59:15 +0000 (13:59 +0100)
commitafcc5b928e621d4907ba1297dd5c9c4d4ee71706
tree5efd1d09e780b0019a7c2e728b1e6bf6044b1c2f
parent33daed91c91a94f31b4330c942797425260a9394
net: stmmac: remove unused get_addr() callback

The last caller of the stmmac_desc_ops::get_addr() callback was removed
a while ago, so remove the unused callback.

Note that the callback also only gets half the descriptor address on
systems with 64-bit descriptor addresses, so that should be fixed if it
needs to be resurrected later.

Fixes: 44bf3c5ae3d176ce04 ("net: stmmac: Prepare to add Split Header support")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c
drivers/net/ethernet/stmicro/stmmac/enh_desc.c
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/norm_desc.c