diff options
author | 2016-07-23 10:05:12 +0200 | |
---|---|---|
committer | 2016-08-03 21:03:35 -0400 | |
commit | 3491ab63b45ea9b485683574081ed8535d42f2da (patch) | |
tree | 5ec8e5b1adde002a02e1cbcfce4fe8ba7aa068f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/hfi1: NULL arg to sc_return_credits is OK (diff) | |
download | wireguard-linux-3491ab63b45ea9b485683574081ed8535d42f2da.tar.xz wireguard-linux-3491ab63b45ea9b485683574081ed8535d42f2da.zip |
IB/mthca: NULL arg to pci_dev_put is OK
The pci_dev_put() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions