commit | 7260194595a23e6e762cd444cb40044fd5fa25c0 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Mon Feb 02 18:26:34 2015 +0100 |
committer | Borislav Petkov <bp@suse.de> | Mon Feb 23 13:06:23 2015 +0100 |
tree | 4f302a886daeba266b9e273d9c193765efcb0923 | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 [diff] |
EDAC: Delete unnecessary checks before pci_dev_put() The pci_dev_put() function tests whether its argument is NULL and 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> Link: http://lkml.kernel.org/r/54CFC12C.9010002@users.sourceforge.net Signed-off-by: Borislav Petkov <bp@suse.de>