x86/Viridian: drop dead variable updates
authorJan Beulich <jbeulich@suse.com>
Wed, 24 Nov 2021 10:10:36 +0000 (11:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 24 Nov 2021 10:10:36 +0000 (11:10 +0100)
commit8c6ea4a78485047ea78f9c07d457a56f5227a08b
treeb2bd8945054fa5c6436c36c000e450c034e4ccad
parent857fee77845be0c5c35fd51bac64455369d32a6f
x86/Viridian: drop dead variable updates

Both hvcall_flush_ex() and hvcall_ipi_ex() update "size" without
subsequently using the value; future compilers may warn about such.
Alongside dropping the updates, shrink the variables' scopes to
demonstrate that there are no outer scope uses.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/arch/x86/hvm/viridian/viridian.c