bcmgenet: remove call to netdev_boot_setup_check
authorArnd Bergmann <arnd@arndb.de>
Tue, 3 Aug 2021 11:40:38 +0000 (13:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 12:05:25 +0000 (13:05 +0100)
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@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c

index 63e2237..8507198 100644 (file)
@@ -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;