aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2015-02-03 12:40:54 +0100
committerIngo Molnar <[email protected]>2015-02-18 17:01:42 +0100
commit8e57c586c6a8333c266a6cf76d50e110f2954558 (patch)
treec8eb39a4260b6ff68da284a73bf52a4968939671 /scripts/gdb/linux/modules.py
parenta66734297f78707ce39d756b656bfae861d53f62 (diff)
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions