From: François Tigeot Date: Sun, 12 Aug 2012 11:00:20 +0000 (+0200) Subject: ixgbe(4): remove a lockinit() call X-Git-Tag: v3.2.0~412 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/f56d1f7ac6b271b54685bacf7eaa1f58f353cf10 ixgbe(4): remove a lockinit() call No need to initialize some lockmgr lock twice --- diff --git a/sys/dev/netif/ixgbe/ixgbe.c b/sys/dev/netif/ixgbe/ixgbe.c index 00ed301..e351049 100644 --- 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 */