瀏覽代碼

[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>
Ben Dooks 19 年之前
父節點
當前提交
19af5a8b2b
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/net/dm9000.c

+ 0 - 1
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);
 }
 
 /*