summaryrefslogtreecommitdiffstats
path: root/softmmu
diff options
context:
space:
mode:
authorJuan Quintela2020-11-18 09:37:23 +0100
committerMichael S. Tsirkin2020-12-08 19:48:57 +0100
commit1c775d65d4bff3a5a9876e398b2e689bc45aa1f7 (patch)
tree694b5c494953de880b4190a1fbf7c349c78f61b5 /softmmu
parentunit-test: Add the binary file and clear diff.h (diff)
downloadqemu-1c775d65d4bff3a5a9876e398b2e689bc45aa1f7.tar.gz
qemu-1c775d65d4bff3a5a9876e398b2e689bc45aa1f7.tar.xz
qemu-1c775d65d4bff3a5a9876e398b2e689bc45aa1f7.zip
failover: fix indentantion
Once there, remove not needed cast. Signed-off-by: Juan Quintela <quintela@redhat.com> Message-Id: <20201118083748.1328-3-quintela@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'softmmu')
-rw-r--r--softmmu/qdev-monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/softmmu/qdev-monitor.c b/softmmu/qdev-monitor.c
index bf79d0bbcd..a25f5d612c 100644
--- a/softmmu/qdev-monitor.c
+++ b/softmmu/qdev-monitor.c
@@ -573,10 +573,10 @@ void qdev_set_id(DeviceState *dev, const char *id)
}
static int is_failover_device(void *opaque, const char *name, const char *value,
- Error **errp)
+ Error **errp)
{
if (strcmp(name, "failover_pair_id") == 0) {
- QemuOpts *opts = (QemuOpts *)opaque;
+ QemuOpts *opts = opaque;
if (qdev_should_hide_device(opts)) {
return 1;