Skip to content
Commit 12c90955 authored by Ovidiu Panait's avatar Ovidiu Panait Committed by Tom Rini
Browse files

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: default avatarOvidiu Panait <ovpanait@gmail.com>
parent b4d3b338
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment