On Sun, May 15, 2022 at 09:40:28PM +0300, Ovidiu Panait wrote:
> The whole event_register() function is wrapped in EVENT_DYNAMIC #ifdef
> checks, so the inner check is not needed:
>
> #if CONFIG_IS_ENABLED(EVENT_DYNAMIC)
> ...
> int event_register(...)
> {
> ...
> if (!CONFIG_IS_ENA
The whole event_register() function is wrapped in EVENT_DYNAMIC #ifdef
checks, so the inner check is not needed:
#if CONFIG_IS_ENABLED(EVENT_DYNAMIC)
...
int event_register(...)
{
...
if (!CONFIG_IS_ENABLED(EVENT_DYNAMIC))
return -ENOSYS;
}
#endif
Signed-off-by: Ovidiu Pa
2 matches
Mail list logo