examples/ipsec-secgw: remove duplicated check
authorAnkur Dwivedi <adwivedi@marvell.com>
Fri, 17 Apr 2020 15:41:54 +0000 (21:11 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sun, 19 Apr 2020 15:15:14 +0000 (17:15 +0200)
commitab722af65d70cc75196d3fdacdc417a371d2e58a
tree356268befd3d9dd5000549a88f8e618b3a2cbbea
parentcca3eda1b9de403ca6c03f0d986d26f8474c3af5
examples/ipsec-secgw: remove duplicated check

The two if check does the same task, so removing one.

Coverity issue: 355669
Fixes: 9ad50c29d01d ("examples/ipsec-secgw: add app mode worker")

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/ipsec_worker.c