bond: remove memory allocation for PCI driver
authorJia Yu <jyu@vmware.com>
Mon, 23 Mar 2015 21:53:56 +0000 (14:53 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 26 Mar 2015 21:33:41 +0000 (22:33 +0100)
commit10ef5d7891882d8b5a379904b40c2ba66ee1472a
treedc9a913def3bd40e2a98025ee3f3d05908a1ace5
parentad37b97d8d755b4d53c7d1e6903da4bdecbae291
bond: remove memory allocation for PCI driver

eth_driver already contains rte_pci_driver data structure.
Allocating rte_pci_driver without referencing it after bond
creation causes memory leakage.

Signed-off-by: Jia Yu <jyu@vmware.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
lib/librte_pmd_bond/rte_eth_bond_api.c