X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvmdq_dcb%2Fmain.c;h=35ffffadcb2a09bfbe2e1e6fbc7a3a898df68a0a;hb=4a7f40c0ff9aaca071e8817bd6c3d880932cb0ee;hp=62e1422a85e55af511ae4330b2ef2eb906f63c49;hpb=8cc72f2814dd7f0b805e5a170e93f464c0ffcd51;p=dpdk.git diff --git a/examples/vmdq_dcb/main.c b/examples/vmdq_dcb/main.c index 62e1422a85..35ffffadcb 100644 --- a/examples/vmdq_dcb/main.c +++ b/examples/vmdq_dcb/main.c @@ -63,7 +63,6 @@ #include #include #include -#include #include #include #include @@ -662,8 +661,6 @@ main(int argc, char *argv[]) } 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