X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fvmdq%2Fmain.c;h=360492bae70fbabf76da2e5475f8ed6f961f4abd;hb=98dd7ad4da568279811883b6434f67ef4ef67ed3;hp=178af2f5b9d98aa06a3814cc9feafec5e2b73c42;hpb=e4363e814961c006be82d2b4e59e9509c2463edf;p=dpdk.git diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c index 178af2f5b9..360492bae7 100644 --- a/examples/vmdq/main.c +++ b/examples/vmdq/main.c @@ -599,8 +599,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