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