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/0ca3a3d8d065
branches:  trunk
changeset: 948580:0ca3a3d8d065
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 6b965ade644d -r 0ca3a3d8d065 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