diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-07-18 09:00:00 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-07-18 10:17:24 +0200 |
commit | 64a40c84001e55001a4d80496b6b56e4d04e4360 (patch) | |
tree | 849bc3319192774ed3c35159100ebb99447100b0 /drivers | |
parent | s390/smp: clean up a condition (diff) | |
download | linux-64a40c84001e55001a4d80496b6b56e4d04e4360.tar.xz linux-64a40c84001e55001a4d80496b6b56e4d04e4360.zip |
s390/pci: Delete an unnecessary check before the function call "pci_dev_put"
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>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions