From: Markus Elfring Date: Tue, 3 Feb 2015 11:40:54 +0000 (+0100) Subject: perf/x86/intel/uncore: Delete an unnecessary check before pci_dev_put() call X-Git-Tag: omap-for-v4.2/o2_dc~146^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e57c586c6a8333c266a6cf76d50e110f2954558;p=pandora-kernel.git perf/x86/intel/uncore: Delete an unnecessary check before pci_dev_put() call 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: Peter Zijlstra (Intel) Cc: Arnaldo Carvalho de Melo Cc: H. Peter Anvin Cc: Linus Torvalds Link: http://lkml.kernel.org/r/54D0B59C.2060106@users.sourceforge.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed