summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-10-14 14:05:22 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-10-24 17:42:12 +0200
commitf8dc4394fc51ceb6c18a68c38fb41d9bc5f1ec63 (patch)
tree20d923b866ec20ef463076cadfa44a649fbed9c9 /tools/perf/scripts/python/parallel-perf.py
parent42f7652d3eb527d03665b09edac47f85fb600924 (diff)
ACPI: pfr_telemetry: remove redundant error check on ret
The variable ret is initialized to zero and a littler later in the PFRT_LOG_IOC_GET_INFO case of a switch statement is being checked for negative error value. Since ret has not been re-assigned since the initialization ret can never be less than zero so the check is redundant and can be removed. Remove it. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://patch.msgid.link/20241014130522.1986428-1-colin.i.king@gmail.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions