[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] util/async: avoid useless cast
From: |
Laurent Vivier |
Subject: |
Re: [PATCH 1/3] util/async: avoid useless cast |
Date: |
Wed, 23 Oct 2019 15:44:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
Le 23/10/2019 à 14:26, Frediano Ziglio a écrit :
> event_notifier_dummy_cb is already compatible with EventNotifierHandler.
>
> Signed-off-by: Frediano Ziglio <address@hidden>
> ---
> util/async.c | 1 -
> 1 file changed, 1 deletion(-)
>
> 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
>
Reviewed-by: Laurent Vivier <address@hidden>
[PATCH 2/3] event_notifier: avoid dandling file descriptor in event_notifier_cleanup, Frediano Ziglio, 2019/10/23
Re: [PATCH 1/3] util/async: avoid useless cast,
Laurent Vivier <=
Re: [PATCH 1/3] util/async: avoid useless cast, Laurent Vivier, 2019/10/24