diff options
author | Frediano Ziglio | 2019-10-23 14:26:50 +0200 |
---|---|---|
committer | Laurent Vivier | 2019-10-24 19:26:05 +0200 |
commit | 765e35d71f37325a2bc41b915c7658ac7598ce5f (patch) | |
tree | 2cfb1dc1bea187f0f68a7972a3191828d0ead601 | |
parent | pci_bridge: fix a typo in comment (diff) | |
download | qemu-765e35d71f37325a2bc41b915c7658ac7598ce5f.tar.gz qemu-765e35d71f37325a2bc41b915c7658ac7598ce5f.tar.xz qemu-765e35d71f37325a2bc41b915c7658ac7598ce5f.zip |
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>
-rw-r--r-- | util/async.c | 1 |
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 |