drivers/net: Remove alloc_etherdev error messages
alloc_etherdev has a generic OOM/unable to alloc message. Remove the duplicative messages after alloc_etherdev calls. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Этот коммит содержится в:

коммит произвёл
David S. Miller

родитель
e404decb0f
Коммит
41de8d4cff
@@ -1462,8 +1462,6 @@ static struct net_device * __devinit sis190_init_board(struct pci_dev *pdev)
|
||||
|
||||
dev = alloc_etherdev(sizeof(*tp));
|
||||
if (!dev) {
|
||||
if (netif_msg_drv(&debug))
|
||||
pr_err("unable to alloc new ethernet\n");
|
||||
rc = -ENOMEM;
|
||||
goto err_out_0;
|
||||
}
|
||||
|
Ссылка в новой задаче
Block a user