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_watchdog is not currently used.



details:   https://anonhg.NetBSD.org/src-all/rev/726191c1abe7
branches:  trunk
changeset: 987724:726191c1abe7
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 03 22:45:46 2020 +1000

description:
iwm_watchdog is not currently used.

diffstat:

 sys/dev/pci/if_iwm.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (29 lines):

diff -r 884f780f5491 -r 726191c1abe7 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 03 22:28:15 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 03 22:45:46 2020 +1000
@@ -483,7 +483,9 @@
 static int     iwm_init(struct ifnet *);
 static void    iwm_start(struct ifnet *);
 static void    iwm_stop(struct ifnet *, int);
+#ifdef notyet
 static void    iwm_watchdog(struct ifnet *);
+#endif
 static int     iwm_ioctl(struct ifnet *, u_long, void *);
 #ifdef IWM_DEBUG
 static const char *iwm_desc_lookup(uint32_t);
@@ -7028,6 +7030,7 @@
        iwm_stop_device(sc);
 }
 
+#ifdef notyet
 static void
 iwm_watchdog(struct ifnet *ifp)
 {
@@ -7050,6 +7053,7 @@
 
        ieee80211_watchdog(&sc->sc_ic);
 }
+#endif
 
 static int
 iwm_ioctl(struct ifnet *ifp, u_long cmd, void *data)



Home | Main Index | Thread Index | Old Index