Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/usb Remove wrong #if 0 code



details:   https://anonhg.NetBSD.org/src-all/rev/69007e15d817
branches:  trunk
changeset: 371170:69007e15d817
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Tue Sep 20 18:44:29 2022 +0200

description:
Remove wrong #if 0 code

diffstat:

 sys/dev/usb/usbwifi.c |  7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diffs (17 lines):

diff -r aa8359bb132e -r 69007e15d817 sys/dev/usb/usbwifi.c
--- a/sys/dev/usb/usbwifi.c     Tue Sep 20 18:36:13 2022 +0200
+++ b/sys/dev/usb/usbwifi.c     Tue Sep 20 18:44:29 2022 +0200
@@ -745,13 +745,6 @@
        /* Start up the receive pipe(s). */
        usbwifi_rx_start_pipes(uw);
 
-       /* Indicate we are up and running. */
-#if 0
-       /* XXX if_mcast_op() can call this without ifnet locked */
-       KASSERT(ifp->if_softc == NULL || IFNET_LOCKED(ifp));
-       ifp->if_flags |= IFF_RUNNING;
-#endif
-
        callout_schedule(&uwp->uwp_stat_ch, hz);
 
 out:



Home | Main Index | Thread Index | Old Index