diff options
| author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-26 07:16:01 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-10-27 23:52:36 +0900 |
| commit | 4fa112f6b5fb055478e76f2b446673565d2ea35f (patch) | |
| tree | fc21233f71eb6188dda6c97f3a4396a0512a2b22 /scripts/stackusage | |
| parent | Merge branch 'cxgb4-collect-more-hardware-dumps-via-ethtool' (diff) | |
| download | linux-4fa112f6b5fb055478e76f2b446673565d2ea35f.tar.gz linux-4fa112f6b5fb055478e76f2b446673565d2ea35f.zip | |
net: bcmgenet: Use BUG_ON instead of if condition followed by BUG
Use BUG_ON instead of if condition followed by BUG.
Something to notice in this particular case is that unlikely()
is already being called inside BUG_ON macro.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
