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/bf282a81e424
branches:  trunk
changeset: 370608:bf282a81e424
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 b7fb9e103a00 -r bf282a81e424 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