Skip to contentSkip to conversation

DM9000 - do no re-init spin lock

PATCH New Ben Dooks 1 participant 1 message Jun 13, 2006

Subsystems (2)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 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

drivers/net/dm9000.c renamed from linux-2.6.17/linux-2.6.17-rc5/drivers/net/dm9000.c +0 -1
@@ -663,7 +665,6 @@ dm9000_init_dm9000(struct net_device *de
 	db->tx_pkt_cnt = 0;
 	db->queue_pkt_len = 0;
 	dev->trans_start = 0;
-	spin_lock_init(&db->lock);
 }
 
 /*