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>
Этот коммит содержится в:
Joe Perches
2012-01-29 13:47:52 +00:00
коммит произвёл David S. Miller
родитель e404decb0f
Коммит 41de8d4cff
86 изменённых файлов: 63 добавлений и 192 удалений

Просмотреть файл

@@ -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;
}