The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8209266cab569ae07965b694a36ec65ecce292ec

commit 8209266cab569ae07965b694a36ec65ecce292ec
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-04-12 21:58:57 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-04-12 21:58:57 +0000

    if_xae: Remove unused variables.
---
 sys/dev/xilinx/if_xae.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys/dev/xilinx/if_xae.c b/sys/dev/xilinx/if_xae.c
index 8890a9a04b9e..00a9ef387177 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);

Reply via email to