X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvmdq%2Fmain.c;h=f639355dc7edff00a9308861884e4a6f242fef3a;hb=71ff78a7f7411e659708d26af8563fc78835ef39;hp=178af2f5b9d98aa06a3814cc9feafec5e2b73c42;hpb=e4363e814961c006be82d2b4e59e9509c2463edf;p=dpdk.git diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c index 178af2f5b9..f639355dc7 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