usb4bsd/if_udav: Comment out a variable (usage is not yet enabled).
authorSascha Wildner <saw@online.de>
Fri, 12 Oct 2012 06:24:06 +0000 (08:24 +0200)
committerSascha Wildner <saw@online.de>
Fri, 12 Oct 2012 06:24:06 +0000 (08:24 +0200)
sys/bus/u4b/net/if_udav.c

index 5f1e60f..81fd470 100644 (file)
@@ -703,13 +703,15 @@ static void
 udav_stop(struct usb_ether *ue)
 {
        struct udav_softc *sc = ue->ue_sc;
+#if 0 /* XXX */
        struct ifnet *ifp = uether_getifp(&sc->sc_ue);
+#endif
 
        UDAV_LOCK_ASSERT(sc);
 
-       /* XXX
+#if 0 /* XXX */
        ifp->if_drv_flags &= ~IFF_DRV_RUNNING;
-       */
+#endif
        sc->sc_flags &= ~UDAV_FLAG_LINK;
 
        /*