Re: [PATCH v2] staging: rtl8723bs: remove unnecessary boolean comparisons in rtw_recv.c

From: Andrei Khomenkov

Date: Sat May 23 2026 - 08:37:06 EST


On Sat, May 23, 2026 at 04:14:12PM +0530, Ashwin Gundarapu wrote:
> Remove explicit comparisons to true and false. Replace '== false'
> with the '!' operator and remove '== true' entirely.
>
> Found by checkpatch.pl --strict
>
> Signed-off-by: Ashwin Gundarapu <linuxuser509@xxxxxxxxxxx>
> ---
> v2: Reverted unrelated else/break change as pointed out by Dan Carpenter.
> ---
> drivers/staging/rtl8723bs/core/rtw_recv.c | 56 +++++++++++------------
> 1 file changed, 27 insertions(+), 29 deletions(-)

This patch doesn't apply to the staging-next tree.

I have recently done a massive cleanup of this driver and removed
these boolean comparisons. So please rebase your local tree and check
if there is anything left that is worth your effort.

Regards,
Andrei