hw/ppc/mac_newworld: Drop useless CONFIG_KVM ifdefery
commitda6e10177a3da496845f97929087581edff82b3b
authorGreg Kurz <groug@kaod.org>
Fri, 14 Jun 2019 11:09:00 +0000 (14 13:09 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 1 Jul 2019 23:43:58 +0000 (2 09:43 +1000)
treef5c1813d546bd8d4128e5c11db570945137e353a
parent7a660e776ea5bb90c4acc00645116a29b417fcdf
hw/ppc/mac_newworld: Drop useless CONFIG_KVM ifdefery

kvm_enabled() expands to (0) when CONFIG_KVM is not defined. The first
CONFIG_KVM guard is thus useless and it is likely that the compiler
will optimize the code out in the case of the second guard. And even
if it doesn't, we have a stub for kvmppc_get_hypercall().

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