summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-02-19 00:32:01 +0000
committerpeter <peter@FreeBSD.org>2003-02-19 00:32:01 +0000
commit8d210b1fbaa6dd70bc73e17512235fdf9aa8a090 (patch)
tree5b04b20d38efd91983a300052a36e5ca274c1a9f /sys/dev
parent9c07a67a07aa0dbdd8dd5afbf91c857797b04112 (diff)
downloadFreeBSD-src-8d210b1fbaa6dd70bc73e17512235fdf9aa8a090.zip
FreeBSD-src-8d210b1fbaa6dd70bc73e17512235fdf9aa8a090.tar.gz
Remove unused variable and code.
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