diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-04-29 18:21:21 +0800 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-05-14 17:37:45 +0000 |
commit | 03b30cc38dd3c3521dafb1cb2ac4ecd8470bbf0a (patch) | |
tree | 8e1b96c6eabc70244e87fc3c66896a7d62270533 /drivers/hv/hv_fcopy.c | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (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 <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1619691681-86256-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv/hv_fcopy.c')
0 files changed, 0 insertions, 0 deletions