Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci iwm_next scan is not used and was carried ...
details: https://anonhg.NetBSD.org/src-all/rev/a81c8c8b6f14
branches: trunk
changeset: 375573:a81c8c8b6f14
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Thu Sep 03 23:00:53 2020 +1000
description:
iwm_next scan is not used and was carried over (unnecessarily) from iwn.
diffstat:
sys/dev/pci/if_iwm.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r ffad2daa754b -r a81c8c8b6f14 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Thu Sep 03 22:54:57 2020 +1000
+++ b/sys/dev/pci/if_iwm.c Thu Sep 03 23:00:53 2020 +1000
@@ -8433,7 +8433,6 @@ iwm_config_complete(device_t self)
iwm_radiotap_attach(sc, vap->iv_ifp);
- callout_setfunc(&sc->scan_to, iwm_next_scan, vap);
if (pmf_device_register(self, NULL, iwm_resume))
pmf_class_network_register(self, vap->iv_ifp);
else {
@@ -8529,7 +8528,7 @@ iwm_reset(struct ieee80211vap *vap, u_lo
return 0;
}
-static void
+static void __unused
iwm_next_scan(void *arg)
{
#if 0
Home |
Main Index |
Thread Index |
Old Index