diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-11-16 09:04:21 -0500 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-06-30 08:18:08 -0400 |
commit | 6e10c469f0997a5ebaffa955d8716c59ba102a1f (patch) | |
tree | 48427b7a98dc78ae70a938a6d9dbf09ad4c44870 /drivers/ieee802154 | |
parent | 1049f6413f6e52572a768ca1590fa479ef0a48e8 (diff) |
fakehard: stop setting platform_data as it's unused anymore
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>
Diffstat (limited to 'drivers/ieee802154')
-rw-r--r-- | drivers/ieee802154/fakehard.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c index a5a49a1baae7..eb0e2ccc79ae 100644 --- a/drivers/ieee802154/fakehard.c +++ b/drivers/ieee802154/fakehard.c | |||
@@ -370,8 +370,6 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev) | |||
370 | return -ENOMEM; | 370 | return -ENOMEM; |
371 | } | 371 | } |
372 | 372 | ||
373 | phy->dev.platform_data = dev; | ||
374 | |||
375 | memcpy(dev->dev_addr, "\xba\xbe\xca\xfe\xde\xad\xbe\xef", | 373 | memcpy(dev->dev_addr, "\xba\xbe\xca\xfe\xde\xad\xbe\xef", |
376 | dev->addr_len); | 374 | dev->addr_len); |
377 | memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); | 375 | memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); |