From: Markus Elfring Date: Mon, 2 Feb 2015 17:26:34 +0000 (+0100) Subject: EDAC: Delete unnecessary checks before pci_dev_put() X-Git-Tag: omap-for-v4.2/o2_dc~169^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7260194595a23e6e762cd444cb40044fd5fa25c0;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/54CFC12C.9010002@users.sourceforge.net Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed