Re: brcmsmac: Remove unnecessary parentheses

From: Kalle Valo
Date: Wed Jun 27 2018 - 11:55:55 EST


Varsha Rao <rvarsha016@xxxxxxxxx> wrote:

> This patch fixes the clang warning of extraneous parentheses, with the
> following coccinelle script.
>
> @@
> identifier i;
> expression e;
> statement s;
> @@
> if (
> -(i == e)
> +i == e
> )
> s
>
> Suggested-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>
> Signed-off-by: Varsha Rao <rvarsha016@xxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

eb5d2f3afc0f brcmsmac: Remove unnecessary parentheses

--
https://patchwork.kernel.org/patch/10442401/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches