eal: remove PCI/vdev unused code
authorJan Viktorin <viktorin@rehivetech.com>
Tue, 20 Sep 2016 12:41:28 +0000 (18:11 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Oct 2016 14:33:45 +0000 (16:33 +0200)
commit7d299777ecee75bbc4314b92009a9d7daf87c462
treef1eb818ed7f735b581ceb1bbb57bfef4166c6958
parenta16040453968e0b397cf1bc4ce3e2b25d3deb561
eal: remove PCI/vdev unused code

- Remove checks for VDEV from rte_eal_vdev_(init/uninint) as all devices
  are inherently virtual here.
- PDEVs perform PCI specific inits - rte_eal_dev_init() need not call
  rte_driver->init();

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
[Shreyansh: Reword commit log]
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/common/eal_common_dev.c
lib/librte_eal/common/eal_common_vdev.c