neta: remove write only variable

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-04-05 20:03:04 -06:00
parent 37466424b2
commit 28ea3785d9

View File

@ -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);