summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-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 701b47f..54cab48 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 &&
OpenPOWER on IntegriCloud