summaryrefslogtreecommitdiff
path: root/net/mac80211/key.c
diff options
context:
space:
mode:
authorzhouchuangao <zhouchuangao@vivo.com>2021-04-23 11:35:09 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-06-21 12:40:54 +0300
commita2cdc24e20573cf719f3171071368f4f7781d970 (patch)
tree694b2450e3075b0265bd649b6a4597a3118228a1 /net/mac80211/key.c
parentf9cd46a4bb6ce8e9ca827afd2b294266251ef936 (diff)
downloadlinux-a2cdc24e20573cf719f3171071368f4f7781d970.tar.xz
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 <zhouchuangao@vivo.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'net/mac80211/key.c')
0 files changed, 0 insertions, 0 deletions