commit | e084a8b89c173d7b37e886b277b6d3e05669259a | [log] [tgz] |
---|---|---|
author | Zhu Yanjun <yanjun.zhu@oracle.com> | Tue Aug 15 02:33:05 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 15 16:46:48 2017 -0700 |
tree | 67b52cc847fbaa06a446d7154495bcaaf5bb5568 | |
parent | dc503a8ad98474ea0073a1c5c4d9f18cb8dd0dbf [diff] |
mlx4: 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 necessary to manually clear the device driver data to NULL. Cc: Joe Jin <joe.jin@oracle.com> Cc: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>