]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
x86/memshr: Fix build in copy_vcpu_settings()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 6 Oct 2023 13:53:20 +0000 (14:53 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 6 Oct 2023 17:16:31 +0000 (18:16 +0100)
The last user of this variable was dropped.

Fixes: 295514ff7550 ("common: convert vCPU info area registration")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
xen/arch/x86/mm/mem_sharing.c

index 5217c755a299de3a9e065703e874d8fc052eeef7..94b6b782ef2ea5c5f8c6058fb6a5d5c2103005df 100644 (file)
@@ -1706,7 +1706,6 @@ static int copy_vcpu_settings(struct domain *cd, const struct domain *d)
 {
     unsigned int i;
     int ret = -EINVAL;
-    mfn_t vcpu_info_mfn;
 
     for ( i = 0; i < cd->max_vcpus; i++ )
     {