From e904a5aa628d4f28589d44c296e11ec72865434f Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 6 Jun 2005 02:12:12 +0000 Subject: [PATCH] Remove some variables the last commit stopped using so the code compiles. --- sys/dev/fxp/if_fxp.c | 4 ++-- sys/dev/vge/if_vge.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 774128ce18f..d07ab2fc8ad 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -943,7 +943,7 @@ static int fxp_suspend(device_t dev) { struct fxp_softc *sc = device_get_softc(dev); - int i, s; + int s; FXP_LOCK(sc); s = splimp(); @@ -968,7 +968,7 @@ fxp_resume(device_t dev) struct fxp_softc *sc = device_get_softc(dev); struct ifnet *ifp = &sc->sc_if; uint16_t pci_command; - int i, s; + int s; FXP_LOCK(sc); s = splimp(); diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c index 5fcb06e31a6..470751ffbf0 100644 --- a/sys/dev/vge/if_vge.c +++ b/sys/dev/vge/if_vge.c @@ -2374,7 +2374,6 @@ vge_suspend(dev) device_t dev; { struct vge_softc *sc; - int i; sc = device_get_softc(dev); @@ -2396,7 +2395,6 @@ vge_resume(dev) { struct vge_softc *sc; struct ifnet *ifp; - int i; sc = device_get_softc(dev); ifp = &sc->arpcom.ac_if; -- 2.45.2