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)
commite991d0ed0b7a4c135236ec41ba7df7ea99ea9247
tree5efd1d09e780b0019a7c2e728b1e6bf6044b1c2f
parent86d282aca8944adba55e7b7104df84d3dc7c891b
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: ec222003bd948de8f3 ("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