[PATCH 1/2] event: remove CONFIG_EVENT_DYNAMIC check in event_register()

Tom Rini trini at konsulko.com
Tue Jun 7 18:46:39 CEST 2022


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_ENABLED(EVENT_DYNAMIC))
>          return -ENOSYS;
>  }
>  #endif
> 
> Signed-off-by: Ovidiu Panait <ovpanait at gmail.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220607/8117be4f/attachment.sig>


More information about the U-Boot mailing list