From: Friedrich Oslage Date: Mon, 9 Mar 2009 03:13:42 +0000 (-0700) Subject: sunhme: Fix qfe parent detection. X-Git-Tag: v2.6.29-rc8~21^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0796e75503adc6b0a119493ce2e599fb5fd8f96e;p=~emulex%2Finfiniband.git sunhme: Fix qfe parent detection. Signed-off-by: Friedrich Oslage Signed-off-by: David S. Miller --- diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index cc4013be5e1..0ff837a9c80 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"))