X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=inline;f=examples%2Fdpdk_qat%2Fmain.c;h=aa9b1d5cc05433676231a5a7e80ec5ff5310e88b;hb=8e0c599390561feb8b4ea639c2182e9e130fd7b7;hp=dc68989a1cf1ac25463a2401899640c40ce7dc5a;hpb=5129044dce1f85ce4950f31bcf90f3886466f06a;p=deb_dpdk.git diff --git a/examples/dpdk_qat/main.c b/examples/dpdk_qat/main.c index dc68989a..aa9b1d5c 100644 --- a/examples/dpdk_qat/main.c +++ b/examples/dpdk_qat/main.c @@ -62,7 +62,6 @@ #include #include #include -#include #include #include #include @@ -661,8 +660,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");