Skip to content
Commit 7e9be673 authored by zhouchuangao's avatar zhouchuangao Committed by Thomas Bogendoerfer
Browse files

MIPS: BCM63XX: Use BUG_ON instead of condition followed by BUG.



BUG_ON uses unlikely in if(), it can be optimized at compile time.

Usually, the condition in if() is not satisfied. In my opinion,
this can improve the efficiency of the multi-stage pipeline.

Signed-off-by: default avatarzhouchuangao <zhouchuangao@vivo.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent c55944cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment