Re: [PATCH] net: faraday: ftmac100: Use BUG_ON instead of if condition followed by BUG.

From: David Miller
Date: Fri Oct 27 2017 - 10:56:35 EST


From: "Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx>
Date: Thu, 26 Oct 2017 07:27:45 -0500

> 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@xxxxxxxxxxxxxx>

Applied.