hw/ppc/spapr_rtas: Remove local variable
commitdd32e94838e3ddc0895d4dc337e18b881741f4b7
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 21 Jan 2020 11:03:42 +0000 (21 12:03 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 19:59:11 +0000 (24 20:59 +0100)
tree40156d8f54cf9d302558874ad4e3b74a39e274e7
parent500c2cc5d95f9da50da6aa845fa2ee1b99be4630
hw/ppc/spapr_rtas: Remove local variable

We only access this variable in the RTAS_SYSPARM_SPLPAR_CHARACTERISTICS
case. Use it in place and remove the local declaration.

Suggested-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200121110349.25842-4-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/ppc/spapr_rtas.c