app/testpmd: remove useless pointer checks
authorDavid Marchand <david.marchand@redhat.com>
Thu, 24 Mar 2022 16:15:03 +0000 (17:15 +0100)
committerFerruh Yigit <ferruh.yigit@xilinx.com>
Fri, 20 May 2022 10:29:19 +0000 (12:29 +0200)
commit2d8699ebb2a0638e8ae18fc0a83c56f984d0b270
treeebb81bcbb3d178e37b7793ec40ede889d2fb480d
parent1945c64674b2b9ad55af0ef31f8a02ae0b747400
app/testpmd: remove useless pointer checks

Parameters to this static helper can't be NULL.
str has already been dereferenced in caller.
dst and size point to variable in stack.

Fixes: 169a9fed1f4c ("app/testpmd: fix hex string parser support for flow API")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
app/test-pmd/cmdline_flow.c