kernel/usb4bsd: Small -Wunused-variable fix from FreeBSD.
authorSascha Wildner <saw@online.de>
Tue, 25 Feb 2014 17:46:33 +0000 (18:46 +0100)
committerSascha Wildner <saw@online.de>
Tue, 25 Feb 2014 17:46:33 +0000 (18:46 +0100)
sys/bus/u4b/net/if_udav.c

index e449c08..678fc5b 100644 (file)
@@ -757,8 +757,8 @@ udav_ifmedia_upd(struct ifnet *ifp)
         sc->sc_flags &= ~UDAV_FLAG_LINK;
        LIST_FOREACH(miisc, &mii->mii_phys, mii_list)
                mii_phy_reset(miisc);
-       mii_mediachg(mii);
-       return (0);
+       error = mii_mediachg(mii);
+       return (error);
 }
 
 static void