net/pcap: remove local variable shadowing outer one
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 19 Nov 2020 11:58:55 +0000 (11:58 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 11 Jan 2021 09:45:34 +0000 (10:45 +0100)
commita18f17470709d8a5f1cb918a8db6535890dee683
tree069a6000ecf31d6562c80a732f458edc7cb228f3
parentff1047ba5b3128bfd710fc05d2f5adaa259bf88c
net/pcap: remove local variable shadowing outer one

'ret' is already defined in the function scope, removing the 'ret' in
the block scope.

Fixes: c9507cd0cada ("net/pcap: support physical interface MAC address")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/net/pcap/rte_eth_pcap.c