Re: [dpdk-dev] [PATCH] net/bxnt: remove redundant null check

2020-08-05 Thread Thomas Monjalon
31/07/2020 07:03, Ajit Khaparde: > On Thu, Jul 30, 2020 at 7:35 PM Gaurav Singh wrote: > > > vxlan_mask cannot be NULL since its already being accessed > > before. Remove the redundant NULL check. Do you mean vxlan_spec? > > Signed-off-by: Gaurav Singh > > > Acked-by: Ajit Khaparde The title

Re: [dpdk-dev] [PATCH] net/bxnt: remove redundant null check

2020-07-31 Thread Ajit Khaparde
On Thu, Jul 30, 2020 at 7:35 PM Gaurav Singh wrote: > vxlan_mask cannot be NULL since its already being accessed > before. Remove the redundant NULL check. > > Signed-off-by: Gaurav Singh > Acked-by: Ajit Khaparde > --- > drivers/net/bnxt/bnxt_flow.c | 2 +- > 1 file changed, 1 insertion(+),

[dpdk-dev] [PATCH] net/bxnt: remove redundant null check

2020-07-30 Thread Gaurav Singh
vxlan_mask cannot be NULL since its already being accessed before. Remove the redundant NULL check. Signed-off-by: Gaurav Singh --- drivers/net/bnxt/bnxt_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_flow.c b/drivers/net/bnxt/bnxt_flow.c index 3