aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorHanjun Guo <[email protected]>2015-05-11 12:17:15 +0800
committerRafael J. Wysocki <[email protected]>2015-05-13 23:28:15 +0200
commitc867d83855a6c50ac1a33960c9d50a77ff636f64 (patch)
tree028c69aafae4887a16de24440e263cc1db77492e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent16eac059a6800f640423b7b6e2e9fc7091bad102 (diff)
Xen / ACPI / processor: Remove unneeded NULL check
Before xen_acpi_processor_enable() is called, struct acpi_processor *pr is allocated in xen_acpi_processor_add() and checked if it's NULL, so no need to check again when passed to xen_acpi_processor_enable(), just remove it. Signed-off-by: Hanjun Guo <[email protected]> CC: Boris Ostrovsky <[email protected]> CC: Stefano Stabellini <[email protected]> Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions