igb: convert to use of PMD_REGISTER_DRIVER and fix linking
[dpdk.git] / examples / dpdk_qat / main.c
index cdf6832..64cb610 100644 (file)
@@ -697,10 +697,6 @@ MAIN(int argc, char **argv)
                return -1;
 
        /* init driver */
-#ifdef RTE_LIBRTE_IGB_PMD
-       if (rte_igb_pmd_init() < 0)
-               rte_panic("Cannot init igb pmd\n");
-#endif
 #ifdef RTE_LIBRTE_IXGBE_PMD
        if (rte_ixgbe_pmd_init() < 0)
                rte_panic("Cannot init ixgbe pmd\n");