kernel: poll: remove unreachable code
register_event always returns 0, so the conditional will
always take the first branch and code in the else part
is never reached.
Fixes #31282
Signed-off-by:
Ningx Zhao <ningx.zhao@intel.com>
Loading
Please sign in to comment