Re: [PATCH v3] staging: rtl8723bs: remove unnecessary parentheses

From: Dan Carpenter

Date: Wed Jun 03 2026 - 04:50:56 EST


On Wed, Jun 03, 2026 at 04:01:05PM +0800, Eugene Mavick wrote:
> Remove unnecessary parentheses to clear checkpatch.pl warnings
>
> Example of fixed warnings:
> CHECK: Unnecessary parentheses around dvobj->cam_cache[id]
> CHECK: Unnecessary parentheses around 'val != 0xfe'

No, leave these. It's a staging specific rule. I even modified
checkpatch to not warn about these so I'm not sure how you are seeing
them. I just tested again and checkpatch doesn't warn...

regards,
dan carpenter