Re: [dpdk-dev] [PATCH] net/ipn3ke: delete identical branch

2019-06-18 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xu, Rosen > Sent: Thursday, May 23, 2019 10:27 AM > To: Pei, Andy ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/ipn3ke: delete identical branch > > Hi, >

Re: [dpdk-dev] [PATCH] net/ipn3ke: delete identical branch

2019-05-22 Thread Xu, Rosen
Hi, > -Original Message- > From: Pei, Andy > Sent: Wednesday, May 22, 2019 14:45 > To: dev@dpdk.org > Cc: Pei, Andy ; Xu, Rosen ; > sta...@dpdk.org > Subject: [PATCH] net/ipn3ke: delete identical branch > > Whether the if statement is ture or not, the operation is identical. > It is unnec

[dpdk-dev] [PATCH] net/ipn3ke: delete identical branch

2019-05-21 Thread Andy Pei
Whether the if statement is ture or not, the operation is identical. It is unnecessary to check the if statement, so just delete the if statement. Coverity issue: 337928 Fixes: c820468ac99c ("net/ipn3ke: support TM") Cc: rosen...@intel.com Cc: sta...@dpdk.org Signed-off-by: Andy Pei --- drivers