commit | 5bca178eed601cd4584c38c5290f7abbcacf3fb3 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | Thu Oct 26 07:27:45 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 27 23:53:14 2017 +0900 |
tree | a2137e458ad0b95ae6aaae1717306c85dfbe912c | |
parent | 4fa112f6b5fb055478e76f2b446673565d2ea35f [diff] |
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>