spapr: Drop CAS reboot flag
commit087820e37f05c391c1ea77b1761ed489c928872e
authorGreg Kurz <groug@kaod.org>
Wed, 25 Mar 2020 15:25:49 +0000 (25 16:25 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 7 May 2020 01:10:50 +0000 (7 11:10 +1000)
tree613fd0894f6699b2429e210bc789d466fb4bb125
parent91067db1abcdc6caf951494b8d7e4bfaaa0cb61d
spapr: Drop CAS reboot flag

The CAS reboot flag is false by default and all the locations that
could set it to true have been dropped. This means that all code
blocks depending on the flag being set is dead code and the other
code blocks should be executed always.

Just do that and drop the now uneeded CAS reboot flag. Fix a
comment on the way to make checkpatch happy.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <158514994893.478799.11772512888322840990.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr.h