mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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 <[email protected]>
This commit is contained in:
parent
1049f6413f
commit
6e10c469f0
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue