diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-10-26 07:16:01 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-27 23:52:36 +0900 |
| commit | 4fa112f6b5fb055478e76f2b446673565d2ea35f (patch) | |
| tree | fc21233f71eb6188dda6c97f3a4396a0512a2b22 /tools/perf/scripts/python | |
| 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions