From f56d1f7ac6b271b54685bacf7eaa1f58f353cf10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Tigeot?= Date: Sun, 12 Aug 2012 13:00:20 +0200 Subject: [PATCH] ixgbe(4): remove a lockinit() call No need to initialize some lockmgr lock twice --- sys/dev/netif/ixgbe/ixgbe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/netif/ixgbe/ixgbe.c b/sys/dev/netif/ixgbe/ixgbe.c index 00ed301cb5..e3510490f5 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 */ -- 2.41.0