diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-11-23 14:55:25 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-12-04 17:16:01 +0300 |
commit | 6049a7a2535bf0b5021b527e60dee9eda022bc90 (patch) | |
tree | 5e0eb64172a85c0fe3b16fa248335c4eef24894d /drivers/gpio/gpiolib-of.c | |
parent | 2daff4d48d7e9acde58a68de3cd11f8215780499 (diff) | |
download | linux-6049a7a2535bf0b5021b527e60dee9eda022bc90.tar.xz |
video: fbdev-SIS: Deletion of unnecessary checks 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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions