[PATCH v2 01/14] [net-next] bcmgenet: remove call to netdev_boot_setup_check

From: Arnd Bergmann
Date: Tue Aug 03 2021 - 07:41:16 EST


From: Arnd Bergmann <arnd@xxxxxxxx>

The driver has never used the netdev->{irq,base_addr,mem_start}
members, so this call is completely unnecessary.

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
index 63e2237e0cb4..8507198992df 100644
--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
@@ -3972,8 +3972,6 @@ static int bcmgenet_probe(struct platform_device *pdev)
*/
dev->needed_headroom += 64;

- netdev_boot_setup_check(dev);
-
priv->dev = dev;
priv->pdev = pdev;

--
2.29.2