]> Git Repo - qemu.git/commitdiff
util/async: avoid useless cast
authorFrediano Ziglio <[email protected]>
Wed, 23 Oct 2019 12:26:50 +0000 (13:26 +0100)
committerLaurent Vivier <[email protected]>
Thu, 24 Oct 2019 17:26:05 +0000 (19:26 +0200)
event_notifier_dummy_cb is already compatible with EventNotifierHandler.

Signed-off-by: Frediano Ziglio <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Message-Id: <20191023122652[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
util/async.c

index ca83e32c7fa13d18f09cf2b921cb1f79c2cc2918..b1fa5319e5bc7830d50108f911398def1133010d 100644 (file)
@@ -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
This page took 0.025125 seconds and 4 git commands to generate.