diff options
author | Yojiro Uo <yuo@cvs.openbsd.org> | 2013-06-03 22:36:16 +0000 |
---|---|---|
committer | Yojiro Uo <yuo@cvs.openbsd.org> | 2013-06-03 22:36:16 +0000 |
commit | 12251c7f9dc93cbd08e9a8e031a39757d227d860 (patch) | |
tree | 8676d283fdfd19d3049276c31b9aa2503d41b915 /sys/dev/usb | |
parent | e0a515beec746313769345ada44b7ebc185aca8f (diff) |
remove unless lines
ok reyk@ deraadt@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_axe.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 <jsg@openbsd.org> @@ -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) |