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>
这个提交包含在:
@@ -2300,7 +2300,6 @@ static int __devinit atl1e_probe(struct pci_dev *pdev,
|
||||
netdev = alloc_etherdev(sizeof(struct atl1e_adapter));
|
||||
if (netdev == NULL) {
|
||||
err = -ENOMEM;
|
||||
dev_err(&pdev->dev, "etherdev alloc failed\n");
|
||||
goto err_alloc_etherdev;
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户