aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-06-13 19:05:50 -0400
committerJeff Garzik <jeff@garzik.org>2006-06-26 22:01:53 -0400
commit19af5a8b2b3fcf2a65e3077deafe95706a1d4282 (patch)
tree858cef9cebe5ce940c6e907d8bb06461c084aa1b /drivers/net
parent5b55dda6f40c46e93006b3c88f75550e0d3b3032 (diff)
[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 <ben-linux@fluff.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/dm9000.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index e6bdbd3a6796..7eea8e1a1230 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -665,7 +665,6 @@ dm9000_init_dm9000(struct net_device *dev)
665 db->tx_pkt_cnt = 0; 665 db->tx_pkt_cnt = 0;
666 db->queue_pkt_len = 0; 666 db->queue_pkt_len = 0;
667 dev->trans_start = 0; 667 dev->trans_start = 0;
668 spin_lock_init(&db->lock);
669} 668}
670 669
671/* 670/*