[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100824120105.GF29330@bicker>
Date: Tue, 24 Aug 2010 14:01:05 +0200
From: Dan Carpenter <error27@...il.com>
To: netdev@...r.kernel.org
Cc: Joe Perches <joe@...ches.com>,
"David S. Miller" <davem@...emloft.net>,
kernel-janitors@...r.kernel.org
Subject: [patch] plip: remove superflous return
This return isn't reachable and it obscures the goto on the line before.
Signed-off-by: Dan Carpenter <error27@...il.com>
diff --git a/drivers/net/plip.c b/drivers/net/plip.c
index ec0349e..7e82a82 100644
--- a/drivers/net/plip.c
+++ b/drivers/net/plip.c
@@ -1279,7 +1279,6 @@ static void plip_attach (struct parport *port)
if (!nl->pardev) {
printk(KERN_ERR "%s: parport_register failed\n", name);
goto err_free_dev;
- return;
}
plip_init_netdev(dev);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists