Re: brcmsmac: Remove unnecessary parentheses
From: Kalle Valo <hidden>
Date: 2018-06-27 15:55:52
Also in:
linux-wireless, lkml
From: Kalle Valo <hidden>
Date: 2018-06-27 15:55:52
Also in:
linux-wireless, lkml
Varsha Rao [off-list ref] 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@gmail.com> Signed-off-by: Varsha Rao <redacted>
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