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/d1063c33178c
branches:  trunk
changeset: 375809:d1063c33178c
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 bdad56e39c76 -r d1063c33178c 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 @@ usbwifi_init_rx_tx(struct usbwifi * cons
        /* 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