s390/pci: Delete an unnecessary check before the function call "pci_dev_put"
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 18 Jul 2016 07:00:00 +0000 (09:00 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 18 Jul 2016 08:17:24 +0000 (10:17 +0200)
commit64a40c84001e55001a4d80496b6b56e4d04e4360
tree849bc3319192774ed3c35159100ebb99447100b0
parent61282affd2b877cdc86df1f212b2b1a17317bf57
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>
arch/s390/pci/pci_event.c