[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/19] util/async: avoid useless cast
From: |
Laurent Vivier |
Subject: |
[PULL 03/19] util/async: avoid useless cast |
Date: |
Fri, 25 Oct 2019 10:34:55 +0200 |
From: Frediano Ziglio <address@hidden>
event_notifier_dummy_cb is already compatible with EventNotifierHandler.
Signed-off-by: Frediano Ziglio <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
util/async.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/util/async.c b/util/async.c
index ca83e32c7fa1..b1fa5319e5bc 100644
--- a/util/async.c
+++ b/util/async.c
@@ -429,7 +429,6 @@ AioContext *aio_context_new(Error **errp)
aio_set_event_notifier(ctx, &ctx->notifier,
false,
- (EventNotifierHandler *)
event_notifier_dummy_cb,
event_notifier_poll);
#ifdef CONFIG_LINUX_AIO
--
2.21.0
- [PULL 00/19] Trivial branch patches, Laurent Vivier, 2019/10/25
- [PULL 04/19] event_notifier: avoid dandling file descriptor in event_notifier_cleanup, Laurent Vivier, 2019/10/25
- [PULL 03/19] util/async: avoid useless cast,
Laurent Vivier <=
- [PULL 06/19] hw/timer: Compile devices not target-dependent as common object, Laurent Vivier, 2019/10/25
- [PULL 02/19] pci_bridge: fix a typo in comment, Laurent Vivier, 2019/10/25
- [PULL 01/19] qemu-options.hx: Update for reboot-timeout parameter, Laurent Vivier, 2019/10/25
- [PULL 07/19] hw: Move PL031 device from hw/timer/ to hw/rtc/ subdirectory, Laurent Vivier, 2019/10/25
- [PULL 05/19] qemu-timer: reuse MIN macro in qemu_timeout_ns_to_ms, Laurent Vivier, 2019/10/25
- [PULL 10/19] hw: Move M41T80 device from hw/timer/ to hw/rtc/ subdirectory, Laurent Vivier, 2019/10/25
- [PULL 15/19] hw: Move Exynos4210 RTC from hw/timer/ to hw/rtc/ subdirectory, Laurent Vivier, 2019/10/25
- [PULL 11/19] hw: Move sun4v hypervisor RTC from hw/timer/ to hw/rtc/ subdirectory, Laurent Vivier, 2019/10/25
- [PULL 13/19] hw: Move DS1338 device from hw/timer/ to hw/rtc/ subdirectory, Laurent Vivier, 2019/10/25
- [PULL 18/19] hw/rtc/xlnx-zynqmp-rtc: Remove unused "ptimer.h" include, Laurent Vivier, 2019/10/25