From: Ben Dooks Date: Tue, 13 Jun 2006 23:05:50 +0000 (+0100) Subject: [PATCH] DM9000 - do no re-init spin lock X-Git-Tag: v2.6.18-rc1~457^2~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19af5a8b2b3fcf2a65e3077deafe95706a1d4282;p=linux-2.6 [PATCH] DM9000 - do no re-init spin lock The DM9000 initialisation sequence for the hardware re-initialise the board spin-lock, which is in my view wrong. This patch removes the extra spin lock initialisation Signed-off-by: Ben Dooks Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index e6bdbd3a67..7eea8e1a12 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c @@ -665,7 +665,6 @@ dm9000_init_dm9000(struct net_device *dev) db->tx_pkt_cnt = 0; db->queue_pkt_len = 0; dev->trans_start = 0; - spin_lock_init(&db->lock); } /*