mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
fsl/fman: Remove a useless call to 'dev_set_drvdata()'
Commit c6e26ea8c8 ("dpaa_eth: change device used") has removed usage of
'dev_set_drvdata()' in the 'mac_probe() function.
This call should also be axed.
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
03ac738d5c
commit
5adb55c929
1 changed files with 0 additions and 1 deletions
|
|
@ -713,7 +713,6 @@ static int mac_probe(struct platform_device *_of_dev)
|
|||
__devm_release_region(dev, fman_get_mem_region(priv->fman),
|
||||
res.start, res.end + 1 - res.start);
|
||||
devm_kfree(dev, mac_dev);
|
||||
dev_set_drvdata(dev, NULL);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue