Module Name: src
Committed By: msaitoh
Date: Tue Jul 30 08:38:04 UTC 2019
Modified Files:
src/sys/dev/pci/ixgbe: ixv.c
Log Message:
It's not required to call ixv_stop() twice in ixv_detach().
To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/dev/pci/ixgbe/ixv.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/ixgbe/ixv.c
diff -u src/sys/dev/pci/ixgbe/ixv.c:1.124 src/sys/dev/pci/ixgbe/ixv.c:1.125
--- src/sys/dev/pci/ixgbe/ixv.c:1.124 Fri Jul 26 03:27:24 2019
+++ src/sys/dev/pci/ixgbe/ixv.c Tue Jul 30 08:38:03 2019
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.124 2019/07/26 03:27:24 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.125 2019/07/30 08:38:03 msaitoh Exp $*/
/******************************************************************************
@@ -593,10 +593,6 @@ ixv_detach(device_t dev, int flags)
}
#endif
- IXGBE_CORE_LOCK(adapter);
- ixv_stop(adapter);
- IXGBE_CORE_UNLOCK(adapter);
-
for (int i = 0; i < adapter->num_queues; i++, que++, txr++) {
if (!(adapter->feat_en & IXGBE_FEATURE_LEGACY_TX))
softint_disestablish(txr->txr_si);