hv_balloon: remove redundant assignment
PATCH 1/1 hv_balloon: remove redundant assignment
The variable region_start is being assigned a value that is not read. Remove it.
Addresses-Coverity: ("Unused value")
Signed-off-by Nigel Christian <[email protected]>
--- drivers/hv/hv_balloon.c | 1 - 1 file changed, 1 deletion(-)
drivers/hv/hv_balloon.c +0 -1
@@ -1010,7 +1010,6 @@ static void hot_add_req(struct work_struct *dummy)* that need to be hot-added while ensuring the alignment * and size requirements of Linux as it relates to hot-add. */ - region_start = pg_start; region_size = (pfn_cnt /HA_CHUNK ) *HA_CHUNK ;if (pfn_cnt %HA_CHUNK ) region_size +=HA_CHUNK ;
Signature · 1 line
2.31.1
Wei Liu
maintainerQuoted 5 lines · Nigel Christian
The variable
region_startis being assigned a value that is not read. Remove it.Addresses-Coverity: ("Unused value")
Signed-off-by Nigel Christian <[email protected]>
This is fixed by a patch posted earlier, but thanks anyway.
Wei.