Repository navigation
Commit dfd93c9
net: ethernet: remove unnecessary platform_set_drvdata()
The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d06
(device-core: Ensure drvdata = NULL when no driver is bound).
Thus, it is not needed to manually clear the device driver data to NULL.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Tested-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 3acfeac commit dfd93c9
37 files changed
Lines changed: 0 additions & 61 deletions
File tree
- drivers/net/ethernet
- 8390
- adi
- amd
- broadcom
- cadence
- calxeda
- cirrus
- davicom
- faraday
- freescale
- marvell
- micrel
- nuvoton
- nxp
- renesas
- seeq
- sgi
- smsc
- stmicro/stmmac
- ti
- tundra
- wiznet
- xscale
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
852 | | - | |
853 | 852 | | |
854 | 853 | | |
855 | 854 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1719 | 1719 | | |
1720 | 1720 | | |
1721 | 1721 | | |
1722 | | - | |
1723 | 1722 | | |
1724 | 1723 | | |
1725 | 1724 | | |
| |||
1732 | 1731 | | |
1733 | 1732 | | |
1734 | 1733 | | |
1735 | | - | |
1736 | | - | |
1737 | 1734 | | |
1738 | 1735 | | |
1739 | 1736 | | |
| |||
1868 | 1865 | | |
1869 | 1866 | | |
1870 | 1867 | | |
1871 | | - | |
1872 | 1868 | | |
1873 | 1869 | | |
1874 | 1870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
1304 | | - | |
1305 | | - | |
1306 | 1304 | | |
1307 | 1305 | | |
1308 | 1306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
1850 | | - | |
1851 | 1850 | | |
1852 | 1851 | | |
1853 | 1852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
439 | 438 | | |
440 | 439 | | |
441 | 440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1649 | 1649 | | |
1650 | 1650 | | |
1651 | 1651 | | |
1652 | | - | |
1653 | 1652 | | |
1654 | 1653 | | |
1655 | 1654 | | |
| |||
1675 | 1674 | | |
1676 | 1675 | | |
1677 | 1676 | | |
1678 | | - | |
1679 | 1677 | | |
1680 | 1678 | | |
1681 | 1679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1790 | 1790 | | |
1791 | 1791 | | |
1792 | 1792 | | |
1793 | | - | |
1794 | 1793 | | |
1795 | 1794 | | |
1796 | 1795 | | |
| |||
1813 | 1812 | | |
1814 | 1813 | | |
1815 | 1814 | | |
1816 | | - | |
1817 | 1815 | | |
1818 | 1816 | | |
1819 | 1817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
786 | | - | |
787 | 786 | | |
788 | 787 | | |
789 | 788 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1699 | 1699 | | |
1700 | 1700 | | |
1701 | 1701 | | |
1702 | | - | |
1703 | | - | |
1704 | 1702 | | |
1705 | 1703 | | |
1706 | 1704 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1147 | 1147 | | |
1148 | 1148 | | |
1149 | 1149 | | |
1150 | | - | |
1151 | | - | |
1152 | 1150 | | |
1153 | 1151 | | |
1154 | 1152 | | |
| |||
0 commit comments