diff options
author | zhouchuangao <[email protected]> | 2021-04-23 01:35:09 -0700 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2021-06-21 11:40:54 +0200 |
commit | a2cdc24e20573cf719f3171071368f4f7781d970 (patch) | |
tree | 694b2450e3075b0265bd649b6a4597a3118228a1 /lib/mpi/mpi-sub-ui.c | |
parent | f9cd46a4bb6ce8e9ca827afd2b294266251ef936 (diff) |
mips/kvm: Use BUG_ON instead of if 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: zhouchuangao <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions