From 9ceba67f6d400f2be97f92bd1c55f90802672f44 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Sun, 29 Jan 2012 13:47:52 +0000 Subject: [PATCH] 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 Signed-off-by: David S. Miller --- jme.c | 1 - 1 file changed, 1 deletion(-) diff --git a/jme.c b/jme.c index f595819..b50d7b5 100644 --- a/jme.c +++ b/jme.c @@ -3301,7 +3301,6 @@ jme_init_one(struct pci_dev *pdev, */ netdev = alloc_etherdev(sizeof(*jme)); if (!netdev) { - pr_err("Cannot allocate netdev structure\n"); rc = -ENOMEM; goto err_out_release_regions; } -- 2.39.3