bcmgenet: remove call to netdev_boot_setup_check
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>
This commit is contained in:
parent
2dbf4c2e7e
commit
0852aeb9c3
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user