From: Friedrich Oslage Date: Mon, 9 Mar 2009 03:13:42 +0000 (-0700) Subject: sunhme: Fix qfe parent detection. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0796e75503adc6b0a119493ce2e599fb5fd8f96e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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"))