projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
33e7016
)
ixgbe(4): remove a lockinit() call
author
François Tigeot <ftigeot@wolfpond.org>
Sun, 12 Aug 2012 11:00:20 +0000 (13:00 +0200)
committer
François Tigeot <ftigeot@wolfpond.org>
Sun, 12 Aug 2012 11:55:27 +0000 (13:55 +0200)
No need to initialize some lockmgr lock twice
sys/dev/netif/ixgbe/ixgbe.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/netif/ixgbe/ixgbe.c
b/sys/dev/netif/ixgbe/ixgbe.c
index
00ed301
..
e351049
100644
(file)
--- a/
sys/dev/netif/ixgbe/ixgbe.c
+++ b/
sys/dev/netif/ixgbe/ixgbe.c
@@
-456,8
+456,6
@@
ixgbe_attach(device_t dev)
0, ixgbe_set_thermal_test, "I", "Thermal Test");
/* Set up the timer callout */
- /* XXX: shouldn't this be a spin lock ? */
- lockinit(&adapter->core_lock, "ixgbe core lock", 0, LK_CANRECURSE);
callout_init(&adapter->timer);
/* Determine hardware revision */