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 /lib/parman.c | |
parent | 42c8ae1137173964d48fd040cbb85027125e6a5c (diff) |
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 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions