x86/acpi: remove dead code
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 11 Jan 2021 13:58:00 +0000 (14:58 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 Jan 2021 13:58:00 +0000 (14:58 +0100)
commitfaa0ab2a1df0381e00d85312247024b32d60a7b9
tree3259fe0a92ec35ff65023971d741eff8a1731a30
parent8fc9852324a9d91c7aa0b9d733c501f2138e1a27
x86/acpi: remove dead code

After the recent changes to acpi_fadt_parse_sleep_info the bad label
can never be called with facs mapped, and hence the unmap can be
removed.

Additionally remove the whole label, since it was used by a
single caller. Move the relevant code from the label.

No functional change intended.

CID: 1471722
Fixes: 16ca5b3f873 ('x86/ACPI: don't invalidate S5 data when S3 wakeup vector cannot be determined')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/boot.c