X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=examples%2Fvmdq_dcb%2Fmain.c;h=35ffffadcb2a09bfbe2e1e6fbc7a3a898df68a0a;hb=fa64fa74edc2b1179fe9c004cd50131a79672ee0;hp=62e1422a85e55af511ae4330b2ef2eb906f63c49;hpb=97f17497d162afdb82c8704bf097f0fee3724b2e;p=deb_dpdk.git diff --git a/examples/vmdq_dcb/main.c b/examples/vmdq_dcb/main.c index 62e1422a..35ffffad 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