diff options
author | David S. Miller <davem@davemloft.net> | 2013-10-18 00:04:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-18 00:04:05 -0400 |
commit | baf785bacc9f840104fc2dfedd2b72b5cbb4e103 (patch) | |
tree | a04454b2567ea7ece9d3c35d5de58345cb0d8183 /net/core | |
parent | 5cda73b68ebf7e08586d61e6777e64e12df23f07 (diff) | |
parent | 6d2d83e6316611ca8aa6daa9919c41398ba2725d (diff) |
Merge branch 'pci_set_drvdata'
Jingoo Han says:
====================
net: ethernet: remove unnecessary pci_set_drvdata() part 1
Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound),
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions