X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=inline;f=examples%2Fvhost%2Fmain.c;h=665886e7aa5b73cc443eec54e21b8438fe99e332;hb=816a3db6521e45daff0951b7288c8ece71a77c83;hp=32a79be458e9a6a20a063b277c2edebca6b3aa37;hpb=56fe86f8dcafb9e48390742467d39c78c1a432cf;p=dpdk.git diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 32a79be458..665886e7aa 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -1421,8 +1421,6 @@ main(int argc, char *argv[]) /* Get the number of physical ports. */ 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