From: Markus Elfring Date: Wed, 19 Nov 2014 15:00:13 +0000 (+0100) Subject: EDAC: Delete unnecessary check before calling pci_dev_put() X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~26^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a98babd85b2e69d64ef6f2f8a5d029ddaa702e1;p=pandora-kernel.git EDAC: Delete unnecessary check before calling pci_dev_put() The pci_dev_put() function tests whether its argument is NULL and then returns immediately. Thus the test before 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/546CB20D.4070808@users.sourceforge.net [ Boris: commit message. ] Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed