git: f4a5d1f6c440 - main - axe: Fix a -Wunused-but-set-variable warning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Feb 2022 16:11:03 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f4a5d1f6c4405b0bdf62481617f66afa1da3527d commit f4a5d1f6c4405b0bdf62481617f66afa1da3527d Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-02-28 16:07:19 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-02-28 16:07:19 +0000 axe: Fix a -Wunused-but-set-variable warning MFC after: 1 week --- sys/dev/usb/net/if_axe.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/usb/net/if_axe.c b/sys/dev/usb/net/if_axe.c index 314a69b17c01..eaab2798c242 100644 --- a/sys/dev/usb/net/if_axe.c +++ b/sys/dev/usb/net/if_axe.c @@ -709,9 +709,6 @@ axe_ax88772_init(struct axe_softc *sc) static void axe_ax88772_phywake(struct axe_softc *sc) { - struct usb_ether *ue; - - ue = &sc->sc_ue; if (sc->sc_phyno == AXE_772_PHY_NO_EPHY) { /* Manually select internal(embedded) PHY - MAC mode. */ axe_cmd(sc, AXE_CMD_SW_PHY_SELECT, 0, AXE_SW_PHY_SELECT_SS_ENB |