summaryrefslogtreecommitdiffstats
path: root/drivers/net/sunhme.c
diff options
context:
space:
mode:
authorFriedrich Oslage <bluebird@gentoo.org>2009-03-08 20:13:42 -0700
committerDavid S. Miller <davem@davemloft.net>2009-03-08 20:13:42 -0700
commit0796e75503adc6b0a119493ce2e599fb5fd8f96e (patch)
treef82098185e2382bf1458776b1ba3dc48a7316608 /drivers/net/sunhme.c
parentd0cac39e4ec8097e4c7099d291b1fdcc0fe56b58 (diff)
downloadblackbird-op-linux-0796e75503adc6b0a119493ce2e599fb5fd8f96e.tar.gz
blackbird-op-linux-0796e75503adc6b0a119493ce2e599fb5fd8f96e.zip
sunhme: Fix qfe parent detection.
Signed-off-by: Friedrich Oslage <bluebird@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunhme.c')
-rw-r--r--drivers/net/sunhme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c
index cc4013be5e18..0ff837a9c804 100644
--- a/drivers/net/sunhme.c
+++ b/drivers/net/sunhme.c
@@ -2630,8 +2630,6 @@ static int __devinit happy_meal_sbus_probe_one(struct of_device *op, int is_qfe)
int err = -ENODEV;
sbus_dp = to_of_device(op->dev.parent)->node;
- if (is_qfe)
- sbus_dp = to_of_device(op->dev.parent->parent)->node;
/* We can match PCI devices too, do not accept those here. */
if (strcmp(sbus_dp->name, "sbus"))
OpenPOWER on IntegriCloud