mbox series

[0/4] remove unnecessary null checks

Message ID 20221109234649.331942-1-stephen@networkplumber.org (mailing list archive)
Headers
Series remove unnecessary null checks |

Message

Stephen Hemminger Nov. 9, 2022, 11:46 p.m. UTC
  This patch set is from running the null_free coccinelle
script on the current main branch.

Stephen Hemminger (4):
  gve: remove unnecessary null checks
  mlx5: remove unnecessary null checks
  idpf: remove unnecessary null checks
  examples: remove unnecessary null checks

 drivers/net/gve/gve_ethdev.c       |  6 ++----
 drivers/net/idpf/idpf_rxtx.c       |  3 +--
 drivers/net/mlx5/hws/mlx5dr_pool.c |  3 +--
 drivers/net/mlx5/mlx5_flow_hw.c    |  6 ++----
 examples/distributor/main.c        |  3 +--
 examples/fips_validation/main.c    | 15 +++++----------
 6 files changed, 12 insertions(+), 24 deletions(-)
  

Comments

Thomas Monjalon Nov. 15, 2022, 2:03 p.m. UTC | #1
10/11/2022 00:46, Stephen Hemminger:
> This patch set is from running the null_free coccinelle
> script on the current main branch.
> 
> Stephen Hemminger (4):
>   gve: remove unnecessary null checks
>   mlx5: remove unnecessary null checks
>   idpf: remove unnecessary null checks
>   examples: remove unnecessary null checks

Squashed drivers together and applied, thanks.
  
Stephen Hemminger Nov. 15, 2022, 4:46 p.m. UTC | #2
On Tue, 15 Nov 2022 15:03:14 +0100
Thomas Monjalon <thomas@monjalon.net> wrote:

> 10/11/2022 00:46, Stephen Hemminger:
> > This patch set is from running the null_free coccinelle
> > script on the current main branch.
> > 
> > Stephen Hemminger (4):
> >   gve: remove unnecessary null checks
> >   mlx5: remove unnecessary null checks
> >   idpf: remove unnecessary null checks
> >   examples: remove unnecessary null checks  
> 
> Squashed drivers together and applied, thanks.

Thanks, I tend to split driver patches so each maintainer only has to see
their own code.
  
Thomas Monjalon Nov. 15, 2022, 5:23 p.m. UTC | #3
15/11/2022 17:46, Stephen Hemminger:
> On Tue, 15 Nov 2022 15:03:14 +0100
> Thomas Monjalon <thomas@monjalon.net> wrote:
> 
> > 10/11/2022 00:46, Stephen Hemminger:
> > > This patch set is from running the null_free coccinelle
> > > script on the current main branch.
> > > 
> > > Stephen Hemminger (4):
> > >   gve: remove unnecessary null checks
> > >   mlx5: remove unnecessary null checks
> > >   idpf: remove unnecessary null checks
> > >   examples: remove unnecessary null checks  
> > 
> > Squashed drivers together and applied, thanks.
> 
> Thanks, I tend to split driver patches so each maintainer only has to see
> their own code.

Yes I know the intent, no problem.