Re: [PATCH RFC 09/18] staging: vchiq_core: do not initialize semaphores twice

From: Stefan Wahren
Date: Sun Oct 28 2018 - 16:46:11 EST


Hi Nicolas,

> Nicolas Saenz Julienne <nsaenzjulienne@xxxxxxx> hat am 26. Oktober 2018 um 15:48 geschrieben:
>
>
> vchiq_init_state() initialises a series of semaphores to then call
> remote_event_create() on the same semaphores, which initializes them
> again.

i would prefer to have all init stuff at one place in vchiq_init_state() and drop this ugliness from remote_event_create() instead. Is this possible?