net/ipn3ke: delete identical branch
authorAndy Pei <andy.pei@intel.com>
Wed, 22 May 2019 06:44:42 +0000 (14:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 20 Jun 2019 21:42:04 +0000 (23:42 +0200)
commit50ade1a71439a0c30df635c5e2f43e1c2d460ada
tree1548873be638a44ac86a02dc51ffcad88182d076
parentbd70c451532c1279ea17ab03263f2af024d710d6
net/ipn3ke: delete identical branch

Whether the if statement is true 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: stable@dpdk.org
Signed-off-by: Andy Pei <andy.pei@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/net/ipn3ke/ipn3ke_tm.c