Skip to content

Commit

Permalink
fakehard: stop setting platform_data as it's unused anymore
Browse files Browse the repository at this point in the history
Previously dev.platform_data was used to store a pointer to net device.
Now this code was gone. Drop it.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
  • Loading branch information
Dmitry Eremin-Solenikov committed Jun 30, 2011
1 parent 1049f64 commit 6e10c46
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/ieee802154/fakehard.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,6 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev)
return -ENOMEM;
}

phy->dev.platform_data = dev;

memcpy(dev->dev_addr, "\xba\xbe\xca\xfe\xde\xad\xbe\xef",
dev->addr_len);
memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);
Expand Down

0 comments on commit 6e10c46

Please sign in to comment.