x86/p2m: drop pointless nested variable from guest_physmap_add_entry()
authorJan Beulich <jbeulich@suse.com>
Fri, 3 Apr 2020 08:57:41 +0000 (10:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 3 Apr 2020 08:57:41 +0000 (10:57 +0200)
commit41cebdd1a6b5e880c768a4af69724851e6a06108
treedd10dbecc560b093f5805afffee5511faf1b288e
parentc65ea16dbcafbe4fe21693b18f8c2a3c5d14600e
x86/p2m: drop pointless nested variable from guest_physmap_add_entry()

There's an outer scope rc already, and its use for the mem-sharing logic
does not conflict with its use elsewhere in the function.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm/p2m.c