git: a2c1c5763978 - stable/13 - axe: Fix a -Wunused-but-set-variable warning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Mar 2022 13:29:49 UTC
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=a2c1c5763978f348259777f2e0aa51b53a485518 commit a2c1c5763978f348259777f2e0aa51b53a485518 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-02-28 16:07:19 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-03-07 13:18:03 +0000 axe: Fix a -Wunused-but-set-variable warning (cherry picked from commit f4a5d1f6c4405b0bdf62481617f66afa1da3527d) --- 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 6da8d7f9b971..faef9cd3cb90 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 |