net/avp: remove always true condition
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 19 Nov 2020 11:59:00 +0000 (11:59 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 11 Jan 2021 09:45:34 +0000 (10:45 +0100)
commite6b87501657e681f15b48837fdfcffabc0ed6bef
treeca44918afa5fc9b2d38b43f9efd307d37bb3dc01
parent427ec3b7285d8e8b939f7e5db4976476c931c005
net/avp: remove always true condition

There is already a break above for the case "count >= 1", so at this
stage 'count' should be always '0'.

Fixes: 1a85922369c4 ("net/avp: add device configuration")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Steven Webster <steven.webster@windriver.com>
drivers/net/avp/avp_ethdev.c