aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2019-10-23 13:26:50 +0100
committerLaurent Vivier <laurent@vivier.eu>2019-10-24 19:26:05 +0200
commit765e35d71f37325a2bc41b915c7658ac7598ce5f (patch)
tree2cfb1dc1bea187f0f68a7972a3191828d0ead601 /util
parent5892cfc719756ef306f74558aed250103b0714d4 (diff)
util/async: avoid useless cast
event_notifier_dummy_cb is already compatible with EventNotifierHandler. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20191023122652.2999-1-fziglio@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'util')
-rw-r--r--util/async.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/async.c b/util/async.c
index ca83e32c7f..b1fa5319e5 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