aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2021-04-29 18:21:21 +0800
committerWei Liu <[email protected]>2021-05-14 17:37:45 +0000
commit03b30cc38dd3c3521dafb1cb2ac4ecd8470bbf0a (patch)
tree8e1b96c6eabc70244e87fc3c66896a7d62270533 /tools/perf/scripts/python/Perf-Trace-Util
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
hv_balloon: Remove redundant assignment to region_start
Variable region_start is set to pg_start but this value is never read as it is overwritten later on, hence it is a redundant assignment and can be removed. Cleans up the following clang-analyzer warning: drivers/hv/hv_balloon.c:1013:3: warning: Value stored to 'region_start' is never read [clang-analyzer-deadcode.DeadStores]. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Link: https://lore.kernel.org/r/1619691681-86256-1-git-send-email-jiapeng.chong@linux.alibaba.com Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions