Re: [PATCH] drivers:staging: Simplify the if condition

From: Dan Carpenter
Date: Wed Mar 24 2021 - 04:22:51 EST


On Wed, Mar 24, 2021 at 01:45:35PM +0800, caizhichao wrote:
> From: Zhichao Cai <caizhichao@xxxxxxxxxx>
>
> Fixes coccicheck warning:
> drivers/staging/media/atomisp/pci/sh_css_params.c:4652:24-26: WARNING !A || A && B is equivalent to !A || B
>

Thanks, but someone already did this. Please work against linux-next.

regards,
dan carpenter