git: 28ea3785d9c4 - main - neta: remove write only variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Apr 2022 03:43:04 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=28ea3785d9c489e7625b27b9d47661104cc30658 commit 28ea3785d9c489e7625b27b9d47661104cc30658 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-04-06 02:03:04 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-06 03:42:06 +0000 neta: remove write only variable Sponsored by: Netflix --- sys/dev/neta/if_mvneta.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/neta/if_mvneta.c b/sys/dev/neta/if_mvneta.c index dc48eeb37701..1c951f2cf05c 100644 --- a/sys/dev/neta/if_mvneta.c +++ b/sys/dev/neta/if_mvneta.c @@ -837,11 +837,9 @@ STATIC int mvneta_detach(device_t dev) { struct mvneta_softc *sc; - struct ifnet *ifp; int q; sc = device_get_softc(dev); - ifp = sc->ifp; if (device_is_attached(dev)) { mvneta_stop(sc);