summaryrefslogtreecommitdiffstats
path: root/hw/intc
diff options
context:
space:
mode:
authorGreg Kurz2020-11-20 18:46:43 +0100
committerDavid Gibson2020-12-14 05:50:55 +0100
commit0b66209d9f8d35ba0f894b14ac00996b5ecf547c (patch)
tree30544bcac1ed33b467dc7b7230b5c0f12e0f6949 /hw/intc
parentspapr/xive: Turn some sanity checks into assertions (diff)
downloadqemu-0b66209d9f8d35ba0f894b14ac00996b5ecf547c.tar.gz
qemu-0b66209d9f8d35ba0f894b14ac00996b5ecf547c.tar.xz
qemu-0b66209d9f8d35ba0f894b14ac00996b5ecf547c.zip
spapr/xics: Drop unused argument to xics_kvm_has_broken_disconnect()
Never used from the start. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <20201120174646.619395-6-groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/xics_kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/xics_kvm.c b/hw/intc/xics_kvm.c
index 68bb1914b9..570d635bcc 100644
--- a/hw/intc/xics_kvm.c
+++ b/hw/intc/xics_kvm.c
@@ -484,7 +484,7 @@ void xics_kvm_disconnect(SpaprInterruptController *intc)
* support destruction of a KVM XICS device while the VM is running.
* Required to start a spapr machine with ic-mode=dual,kernel-irqchip=on.
*/
-bool xics_kvm_has_broken_disconnect(SpaprMachineState *spapr)
+bool xics_kvm_has_broken_disconnect(void)
{
int rc;