Skip to content

Commit

Permalink
sunhme: Fix qfe parent detection.
Browse files Browse the repository at this point in the history
Signed-off-by: Friedrich Oslage <bluebird@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Friedrich Oslage authored and David S. Miller committed Mar 9, 2009
1 parent d0cac39 commit 0796e75
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/sunhme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 0796e75

Please sign in to comment.