net/pcap: remove duplicated max queue number check
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Aug 2016 11:17:46 +0000 (12:17 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commitcdbfc79a26bc8c1af28e3e4a59f76b864fe31e1a
tree54d35a472a0ca1d1458f1535719484904354c8f5
parent7da115493671b4abb73ed03dac5f635fceaf4b0b
net/pcap: remove duplicated max queue number check

Remove duplicated check by reorganizing the code, no functional change.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/pcap/rte_eth_pcap.c