Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2022 21:59:09 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8209266cab56 - main - if_xae: Remove unused variables.
Message-ID:  <202204122159.23CLx9cV035145@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

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

commit 8209266cab569ae07965b694a36ec65ecce292ec
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-12 21:58:57 +0000
Commit:     John Baldwin <jhb@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204122159.23CLx9cV035145>