diff options
author | 2017-08-15 02:33:06 -0400 | |
---|---|---|
committer | 2017-08-15 16:46:48 -0700 | |
commit | 26d159482a0283568557eb606d7f869db7fa03d4 (patch) | |
tree | 99c6db5a511dcff21ec0167d780ddf8a1cd5a2a7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlx4: remove unnecessary pci_set_drvdata() (diff) | |
download | wireguard-linux-26d159482a0283568557eb606d7f869db7fa03d4.tar.xz wireguard-linux-26d159482a0283568557eb606d7f869db7fa03d4.zip |
mlx5: 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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions