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/524601158b34
branches:  trunk
changeset: 1026986:524601158b34
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 f66085fd7ec4 -r 524601158b34 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_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 @@
        return 0;
 }
 
-static void
+static void __unused
 iwm_next_scan(void *arg)
 {
 #if 0



Home | Main Index | Thread Index | Old Index