summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-02-19 00:32:01 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-02-19 00:32:01 +0000
commitbbf9145de38533391b76fd4d3fa3cb4c074ff288 (patch)
tree5b04b20d38efd91983a300052a36e5ca274c1a9f
parent98d79253d668bb2b20b5eac1cef745a247326648 (diff)
Notes
-rw-r--r--sys/dev/mii/inphy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/mii/inphy.c b/sys/dev/mii/inphy.c
index 701b47f67af4..54cab48cbee3 100644
--- a/sys/dev/mii/inphy.c
+++ b/sys/dev/mii/inphy.c
@@ -79,10 +79,8 @@ static int
inphy_probe(device_t dev)
{
struct mii_attach_args *ma;
- device_t parent;
ma = device_get_ivars(dev);
- parent = device_get_parent(device_get_parent(dev));
/* Intel 82553 A/B steppings */
if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxINTEL &&