]> 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)
commit4badacf928974b0f99be3680ac687089ac7351f8
tree5efd1d09e780b0019a7c2e728b1e6bf6044b1c2f
parent209381a2c28e8651b7653c332febb3baa95fb022
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: 3a9e0d5c3557807618 ("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