From: Markus Elfring Date: Fri, 26 Dec 2014 23:28:08 +0000 (-0700) Subject: PCI: Delete unnecessary NULL pointer checks X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~145^2~7^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17f14b51f2dc2fce2636ee49c5fbf49ff27aecb0;p=pandora-kernel.git PCI: Delete unnecessary NULL pointer checks 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 Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed