commit | 12c90955a7e82687acaed3cb53d096bc669e82ca | [log] [tgz] |
---|---|---|
author | Ovidiu Panait <ovpanait@gmail.com> | Sun May 15 21:40:28 2022 +0300 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 06 17:47:17 2022 -0400 |
tree | 72e10d39e3bae80b09beea1f43bf25868d81e09f | |
parent | b4d3b338df14d3d793bcbd0c55ec3d4398596c44 [diff] |
event: remove CONFIG_EVENT_DYNAMIC check in event_register() 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@gmail.com>