diff --git a/sys/dev/xilinx/if_xae.c b/sys/dev/xilinx/if_xae.c index 8890a9a04b9..00a9ef38717 100644 --- a/sys/dev/xilinx/if_xae.c +++ b/sys/dev/xilinx/if_xae.c @@ -256,9 +256,6 @@ xae_xdma_rx_intr(void *arg, xdma_transfer_status_t *status) static void xae_qflush(struct ifnet *ifp) { - struct xae_softc *sc; - - sc = ifp->if_softc; } static int @@ -748,9 +745,6 @@ static void xae_phy_fixup(struct xae_softc *sc) { uint32_t reg; - device_t dev; - - dev = sc->dev; do { WRITE_TI_EREG(sc, DP83867_SGMIICTL1, SGMIICTL1_SGMII_6W);