Re: [PATCH] staging: prism2mgmt: Removed unnecessary parentheses in if statment

From: Dan Carpenter
Date: Wed Jan 17 2024 - 01:17:59 EST


On Wed, Jan 17, 2024 at 07:11:17PM +1300, Hoorad Farrokh wrote:
> Fixed a Linux coding style problem.
>
> Reported by checkpatch:
>
> CHECK: Unnecessary parentheses around 'msg->prismheader.status ==
> P80211ENUM_msgitem_status_data_ok'
>
> Signed-off-by: Hoorad Farrokh <hourrad.f@xxxxxxxxx>

Just ignore these warnings.

https://lore.kernel.org/all/?q=prism2mgmt_wlansniff+Unnecessary+parentheses

regards,
dan carpenter