summaryrefslogtreecommitdiffstats
path: root/target/ppc
diff options
context:
space:
mode:
authorGreg Kurz2020-08-06 18:56:13 +0200
committerDavid Gibson2020-08-12 05:16:27 +0200
commite781139539f3d73ac00f2aea17f5a154b10e4302 (patch)
tree98f6f942cae578d86702a295024ba3e97fbf3ed9 /target/ppc
parentspapr/xive: Fix xive->fd if kvm_create_device() fails (diff)
downloadqemu-e781139539f3d73ac00f2aea17f5a154b10e4302.tar.gz
qemu-e781139539f3d73ac00f2aea17f5a154b10e4302.tar.xz
qemu-e781139539f3d73ac00f2aea17f5a154b10e4302.zip
spapr/xive: Simplify kvmppc_xive_disconnect()
Since this function begins with: /* The KVM XIVE device is not in use */ if (!xive || xive->fd == -1) { return; } we obviously don't need to check xive->fd again. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <159673297296.766512.14780055521619233656.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc')
0 files changed, 0 insertions, 0 deletions