fakehard: stop setting platform_data as it's unused anymore
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 16 Nov 2009 14:04:21 +0000 (17:04 +0300)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 30 Jun 2011 12:18:08 +0000 (16:18 +0400)
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>
drivers/ieee802154/fakehard.c

index a5a49a1baae7227ce754a9a10806fa61e1262346..eb0e2ccc79ae6c3098cdb065511b047218b0c6a0 100644 (file)
@@ -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);