axe: Fix a -Wunused-but-set-variable warning

MFC after:	1 week
This commit is contained in:
Mark Johnston 2022-02-28 11:07:19 -05:00
parent 4db93fb278
commit f4a5d1f6c4

View File

@ -709,9 +709,6 @@ axe_ax88772_init(struct axe_softc *sc)
static void static void
axe_ax88772_phywake(struct axe_softc *sc) axe_ax88772_phywake(struct axe_softc *sc)
{ {
struct usb_ether *ue;
ue = &sc->sc_ue;
if (sc->sc_phyno == AXE_772_PHY_NO_EPHY) { if (sc->sc_phyno == AXE_772_PHY_NO_EPHY) {
/* Manually select internal(embedded) PHY - MAC mode. */ /* Manually select internal(embedded) PHY - MAC mode. */
axe_cmd(sc, AXE_CMD_SW_PHY_SELECT, 0, AXE_SW_PHY_SELECT_SS_ENB | axe_cmd(sc, AXE_CMD_SW_PHY_SELECT, 0, AXE_SW_PHY_SELECT_SS_ENB |