Commit 94d6b53
wan: lmc: remove unnecessary pci_set_drvdata()
The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 3c0d6d3 commit 94d6b53
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | 976 | | |
978 | 977 | | |
979 | 978 | | |
| |||
995 | 994 | | |
996 | 995 | | |
997 | 996 | | |
998 | | - | |
999 | 997 | | |
1000 | 998 | | |
1001 | 999 | | |
| |||
0 commit comments