diff options
author | Juan Quintela | 2020-11-18 09:37:23 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2020-12-08 19:48:57 +0100 |
commit | 1c775d65d4bff3a5a9876e398b2e689bc45aa1f7 (patch) | |
tree | 694b5c494953de880b4190a1fbf7c349c78f61b5 /softmmu | |
parent | unit-test: Add the binary file and clear diff.h (diff) | |
download | qemu-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.c | 4 |
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; |