aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bge
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-05-31 20:42:24 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-05-31 20:42:24 +0000
commitbb0b8a23c09f8eed518261b72ea52d9846f22f9d (patch)
tree31637c211bf1bcfd61eec256fd60f51019991755 /sys/dev/bge
parent00999c80d8e5e5f353a38bfc3fd92d3e57aff6e2 (diff)
Remove unused variable(s).
Found by: FlexeLint
Notes
svn path=/head/; revision=115557
Diffstat (limited to 'sys/dev/bge')
-rw-r--r--sys/dev/bge/if_bge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 353d799187d8..24bc04f55712 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -475,12 +475,10 @@ bge_miibus_readreg(dev, phy, reg)
int phy, reg;
{
struct bge_softc *sc;
- struct ifnet *ifp;
u_int32_t val, autopoll;
int i;
sc = device_get_softc(dev);
- ifp = &sc->arpcom.ac_if;
if (phy != 1)
switch(sc->bge_chipid) {