aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-02-03 12:40:54 +0100
committerIngo Molnar <mingo@kernel.org>2015-02-18 17:01:42 +0100
commit8e57c586c6a8333c266a6cf76d50e110f2954558 (patch)
treec8eb39a4260b6ff68da284a73bf52a4968939671 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentperf/x86: Add /sys/devices/cpu/rdpmc=2 to allow rdpmc for all tasks (diff)
downloadlinux-dev-8e57c586c6a8333c266a6cf76d50e110f2954558.tar.xz
linux-dev-8e57c586c6a8333c266a6cf76d50e110f2954558.zip
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 <elfring@users.sourceforge.net> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/54D0B59C.2060106@users.sourceforge.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions