]> git.droids-corp.org - dpdk.git/blobdiff - examples/qos_sched/init.c
ethdev: remove rte_pmd_init_all function
[dpdk.git] / examples / qos_sched / init.c
index 6ffcc80d0146a0cbbdc6e5b7c465c695c114ece9..e0218157b30ec7991d24eb942ccc72ca59b66345 100755 (executable)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without
@@ -305,10 +305,6 @@ int app_init(void)
        char ring_name[MAX_NAME_LEN];
        char pool_name[MAX_NAME_LEN];
 
-       /* init driver(s) */
-       if (rte_pmd_init_all() < 0)
-               rte_exit(EXIT_FAILURE, "Cannot init PMD\n");
-
        if (rte_eal_pci_probe() < 0)
                rte_exit(EXIT_FAILURE, "Cannot probe PCI\n");