aboutsummaryrefslogtreecommitdiffstats
path: root/examples/dpdk_qat/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dpdk_qat/main.c')
-rw-r--r--examples/dpdk_qat/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/dpdk_qat/main.c b/examples/dpdk_qat/main.c
index dc68989a..3c6112d7 100644
--- a/examples/dpdk_qat/main.c
+++ b/examples/dpdk_qat/main.c
@@ -661,8 +661,6 @@ main(int argc, char **argv)
return -1;
nb_ports = rte_eth_dev_count();
- if (nb_ports > RTE_MAX_ETHPORTS)
- nb_ports = RTE_MAX_ETHPORTS;
if (check_port_config(nb_ports) < 0)
rte_panic("check_port_config failed\n");