From 12251c7f9dc93cbd08e9a8e031a39757d227d860 Mon Sep 17 00:00:00 2001 From: Yojiro Uo Date: Mon, 3 Jun 2013 22:36:16 +0000 Subject: remove unless lines ok reyk@ deraadt@ --- sys/dev/usb/if_axe.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c index 927bbc377b3..839c1f3ed46 100644 --- a/sys/dev/usb/if_axe.c +++ b/sys/dev/usb/if_axe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axe.c,v 1.119 2013/05/31 15:20:49 yuo Exp $ */ +/* $OpenBSD: if_axe.c,v 1.120 2013/06/03 22:36:15 yuo Exp $ */ /* * Copyright (c) 2005, 2006, 2007 Jonathan Gray @@ -361,11 +361,6 @@ axe_miibus_statchg(struct device *dev) struct ifnet *ifp; int val, err; - if ((mii->mii_media_active & IFM_GMASK) == IFM_FDX) - val = AXE_MEDIA_FULL_DUPLEX; - else - val = 0; - ifp = GET_IFP(sc); if (mii == NULL || ifp == NULL || (ifp->if_flags & IFF_RUNNING) == 0) -- cgit v1.2.3