diff options
| author | Ovidiu Panait <[email protected]> | 2022-05-15 21:40:28 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-06-06 17:47:17 -0400 |
| commit | 12c90955a7e82687acaed3cb53d096bc669e82ca (patch) | |
| tree | 72e10d39e3bae80b09beea1f43bf25868d81e09f /include | |
| 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 <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
