From: Markus Elfring Date: Tue, 11 Nov 2014 04:02:17 +0000 (-0700) Subject: PCI: Delete unnecessary NULL pointer checks X-Git-Tag: omap-for-v3.19/fixes-rc1~137^2~1^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff0387c3777f2438bad2088abe442c9f231b0be4;p=pandora-kernel.git PCI: Delete unnecessary NULL pointer checks The functions pci_dev_put(), pci_pme_wakeup_bus(), and put_device() return immediately if their argument is NULL. Thus the test before the call is not needed. Remove these unnecessary tests. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed