X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvmdq%2Fmain.c;fp=examples%2Fvmdq%2Fmain.c;h=360492bae70fbabf76da2e5475f8ed6f961f4abd;hb=b4e0f64ff271ccc78f6275b6bd49194e86fd4f4b;hp=178af2f5b9d98aa06a3814cc9feafec5e2b73c42;hpb=6b3ac0da69e21de7e0e78ed0441b870281288143;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