Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2022 10:12:11 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 79778f869225 - main - if_dwc: Plug set but not used variable
Message-ID:  <202202211012.21LACBSG010132@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=79778f86922582c44a777c98f54b6f7cf842cbed

commit 79778f86922582c44a777c98f54b6f7cf842cbed
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-02-21 10:03:25 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-02-21 10:08:18 +0000

    if_dwc: Plug set but not used variable
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sys/dev/dwc/if_dwc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
index 429e250f48e8..d1a536639304 100644
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -1288,13 +1288,11 @@ dwc_txfinish_locked(struct dwc_softc *sc)
 static void
 dwc_rxfinish_locked(struct dwc_softc *sc)
 {
-	struct ifnet *ifp;
 	struct mbuf *m;
 	int error, idx;
 	struct dwc_hwdesc *desc;
 
 	DWC_ASSERT_LOCKED(sc);
-	ifp = sc->ifp;
 	for (;;) {
 		idx = sc->rx_idx;
 		desc = sc->rxdesc_ring + idx;



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