Re: [PATCH] MIPS: BCM63XX: Use BUG_ON instead of condition followed by BUG.

From: Florian Fainelli
Date: Sat Apr 24 2021 - 21:04:12 EST

On 4/24/2021 8:59 AM, zhouchuangao wrote:
> 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: zhouchuangao <zhouchuangao@xxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>