Subject: Re: [PATCH net] net: liquidio: simplify if expression

From: Leon Romanovsky <[email-masked]>
Date: Thu, 17 Nov 2022 13:16:47 +0200

On Wed, Nov 16, 2022 at 03:01:13PM -0800, Saeed Mahameed wrote:
> On 15 Nov 19:34, Leon Romanovsky wrote:
> > From: Leon Romanovsky <[email-masked]>
> > 
> > Fix the warning reported by kbuild:
> > 
> > cocci warnings: (new ones prefixed by >>)
> > > > drivers/net/ethernet/cavium/liquidio/lio_main.c:1797:54-56: WARNING !A || A && B is equivalent to !A || B
> >   drivers/net/ethernet/cavium/liquidio/lio_main.c:1827:54-56: WARNING !A || A && B is equivalent to !A || B
> > 
> > Fixes: 8979f428a4af ("net: liquidio: release resources when liquidio driver open failed")
> > Reported-by: kernel test robot <[email-masked]>
> > Signed-off-by: Leon Romanovsky <[email-masked]>
> > ---
> > The fixed patch was in net, so sending the fix to net too.
> > ---
> 
> I don't follow the above note, but anyway:

Patch 8979f428a4af ("net: liquidio: release resources when liquidio
driver open failed") was accepted to net tree.
https://lore.kernel.org/netdev/[email-masked]/

> 
> Reviewed-by: Saeed Mahameed <[email-masked]>
>