瀏覽代碼

sunhme: Fix qfe parent detection.

Signed-off-by: Friedrich Oslage <bluebird@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Friedrich Oslage 16 年之前
父節點
當前提交
0796e75503
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/net/sunhme.c

+ 0 - 2
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"))