diff options
author | zhouchuangao <zhouchuangao@vivo.com> | 2021-03-30 14:46:01 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-06 05:34:36 +0200 |
commit | 4dec8004de296952b4afc66b47f50cbf4f8421a9 (patch) | |
tree | b7a4a01d650377a068bf8fe6ce33a3ac56e222cd /net/can | |
parent | scsi: mpt3sas: Block PCI config access from userspace during reset (diff) | |
download | linux-4dec8004de296952b4afc66b47f50cbf4f8421a9.tar.xz linux-4dec8004de296952b4afc66b47f50cbf4f8421a9.zip |
scsi: message: fusion: Use BUG_ON instead of if condition followed by BUG
BUG_ON() uses unlikely in if() which can be optimized at compile time.
Link: https://lore.kernel.org/r/1617108361-6870-1-git-send-email-zhouchuangao@vivo.com
Signed-off-by: zhouchuangao <zhouchuangao@vivo.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions