summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuo <yuo@openbsd.org>2013-06-03 22:36:15 +0000
committeryuo <yuo@openbsd.org>2013-06-03 22:36:15 +0000
commit21e6fe5360e39a25f9891e0af590c25ae6ee63c4 (patch)
treef7e75e953172587c0965c02c0fa815a7d261d75a
parentWhen creating a thread, don't add it to the process's thread list (diff)
downloadwireguard-openbsd-21e6fe5360e39a25f9891e0af590c25ae6ee63c4.tar.xz
wireguard-openbsd-21e6fe5360e39a25f9891e0af590c25ae6ee63c4.zip
remove unless lines
ok reyk@ deraadt@
-rw-r--r--sys/dev/usb/if_axe.c7
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)