diff options
| author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-26 07:27:45 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-10-27 23:53:14 +0900 |
| commit | 5bca178eed601cd4584c38c5290f7abbcacf3fb3 (patch) | |
| tree | a2137e458ad0b95ae6aaae1717306c85dfbe912c /net/dsa/dsa.c | |
| parent | net: bcmgenet: Use BUG_ON instead of if condition followed by BUG (diff) | |
| download | linux-5bca178eed601cd4584c38c5290f7abbcacf3fb3.tar.gz linux-5bca178eed601cd4584c38c5290f7abbcacf3fb3.zip | |
net: faraday: ftmac100: Use BUG_ON instead of if condition followed by BUG.
Notice that in this particular case 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 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions
