riscv: signal: Remove unlikely() from WARN_ON() condition

"WARN_ON(unlikely(x))" is excessive. WARN_ON() already uses unlikely()
internally.

Signed-off-by: Zhongqiu Han <quic_zhonhan@quicinc.com>
Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Andy Chiu <andy.chiu@sifive.com>
Link: https://lore.kernel.org/r/20240620033434.3778156-1-quic_zhonhan@quicinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
Zhongqiu Han 2024-06-20 11:34:34 +08:00 • committed by Palmer Dabbelt
commit 1d20e5d437
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889