Skip to content

Commit

Permalink
bcmgenet: remove call to netdev_boot_setup_check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and David S. Miller committed Aug 3, 2021
1 parent 2dbf4c2 commit 0852aeb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/broadcom/genet/bcmgenet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0852aeb

Please sign in to comment.