mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Remove some variables the last commit stopped using so the code compiles.
This commit is contained in:
parent
55d81cdbc0
commit
e904a5aa62
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147038
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user