summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2017-12-13 10:38:06 +0000
committerkettenis <kettenis@openbsd.org>2017-12-13 10:38:06 +0000
commit4e15a5f398df5252d12cd3a225175ed37edd0c92 (patch)
tree749331e2be74c5bba3bb257f3de19095acfbfce5
parentSpacing from kshe59@zoho.eu. (diff)
downloadwireguard-openbsd-4e15a5f398df5252d12cd3a225175ed37edd0c92.tar.xz
wireguard-openbsd-4e15a5f398df5252d12cd3a225175ed37edd0c92.zip
Fix stray return; hopefully this makes the internal PHY actually work now.
-rw-r--r--sys/dev/fdt/if_dwxe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/fdt/if_dwxe.c b/sys/dev/fdt/if_dwxe.c
index cdcd75d443b..c38599814ad 100644
--- a/sys/dev/fdt/if_dwxe.c
+++ b/sys/dev/fdt/if_dwxe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dwxe.c,v 1.5 2017/12/10 12:28:37 kettenis Exp $ */
+/* $OpenBSD: if_dwxe.c,v 1.6 2017/12/13 10:38:06 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
@@ -477,7 +477,6 @@ dwxe_phy_setup(struct dwxe_softc *sc)
syscon &= ~SYSCON_H3_EPHY_LED_POL;
syscon &= ~SYSCON_H3_EPHY_ADDR_MASK;
syscon |= (sc->sc_phyloc << SYSCON_H3_EPHY_ADDR_SHIFT);
- return;
}
free(phy_mode, M_TEMP, len);