diff options
author | David S. Miller <davem@davemloft.net> | 2013-10-22 02:12:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-22 02:12:31 -0400 |
commit | 1b138131707670063f76e9a6edcb1c0a08031a28 (patch) | |
tree | 847b7718ba238d07e29d420ff611337ad7c2805b /drivers/net/Space.c | |
parent | bda301c9dc545f81bd70c1eecb8572bfc5eb524c (diff) | |
parent | 877a22cdce206370534f58be2f57b9dcc7d476ae (diff) |
Merge branch 'pci_set_drvdata'
Jingoo Han says:
====================
net: ethernet: remove unnecessary pci_set_drvdata() part 3
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 'drivers/net/Space.c')
0 files changed, 0 insertions, 0 deletions