git: 79778f869225 - main - if_dwc: Plug set but not used variable

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Mon, 21 Feb 2022 10:12:11 UTC
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;