git: 3485ff9587f0 - stable/13 - if_dwc: Plug set but not used variable

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Mon, 16 May 2022 13:21:28 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=3485ff9587f0cf47dcf44c9b3e7991b2619f756e

commit 3485ff9587f0cf47dcf44c9b3e7991b2619f756e
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-02-21 10:03:25 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-05-16 13:15:44 +0000

    if_dwc: Plug set but not used variable
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    
    (cherry picked from commit 79778f86922582c44a777c98f54b6f7cf842cbed)
---
 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 2fc78cd47c77..e2bdf9965f84 100644
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -1286,13 +1286,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;