X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=examples%2Fvmdq%2Fmain.c;h=f639355dc7edff00a9308861884e4a6f242fef3a;hb=9a92e68265613f8beb66e0591ec940fd613f8758;hp=178af2f5b9d98aa06a3814cc9feafec5e2b73c42;hpb=b5cdd645c9fc62341d55aebbfc93a1b648415512;p=deb_dpdk.git diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c index 178af2f5..f639355d 100644 --- a/examples/vmdq/main.c +++ b/examples/vmdq/main.c @@ -63,7 +63,6 @@ #include #include #include -#include #include #include #include @@ -599,8 +598,6 @@ main(int argc, char *argv[]) rte_exit(EXIT_FAILURE, "Not enough cores\n"); nb_ports = rte_eth_dev_count(); - if (nb_ports > RTE_MAX_ETHPORTS) - nb_ports = RTE_MAX_ETHPORTS; /* * Update the global var NUM_PORTS and global array PORTS