Skip to content
Commit ff7ec0ce authored by NingX Zhao's avatar NingX Zhao Committed by Anas Nashif
Browse files

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: default avatarNingx Zhao <ningx.zhao@intel.com>
parent e4f95863
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment