sunhme: Fix qfe parent detection.
authorFriedrich Oslage <bluebird@gentoo.org>
Mon, 9 Mar 2009 03:13:42 +0000 (20:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2009 03:13:42 +0000 (20:13 -0700)
Signed-off-by: Friedrich Oslage <bluebird@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sunhme.c

index cc4013b..0ff837a 100644 (file)
@@ -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"))