projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b55dda
)
[PATCH] DM9000 - do no re-init spin lock
author
Ben Dooks
<ben-linux@fluff.org>
Tue, 13 Jun 2006 23:05:50 +0000
(
00:05
+0100)
committer
Jeff Garzik
<jeff@garzik.org>
Tue, 27 Jun 2006 02:01:53 +0000
(22:01 -0400)
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>
drivers/net/dm9000.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/dm9000.c
b/drivers/net/dm9000.c
index e6bdbd3a6796a748dc10291c343a059841065cbd..7eea8e1a1230a5761957cf5b2c8170f99e43f0d8 100644
(file)
--- 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);
}
/*