bond: remove debug function to fix link with shared lib
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Mar 2015 14:48:28 +0000 (15:48 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 4 Mar 2015 10:19:25 +0000 (11:19 +0100)
commit4b1b380213f3fc7029e8b9d936fc0a5d25009422
treec35eaa0172f828defa769aa6485d8d1d0a47584c
parenta91d686358c3fab7f3fc671d9bd9f4ce46fdc665
bond: remove debug function to fix link with shared lib

The function print_client_stats was used in the example without being
clearly exported in the map file. So it breaks linking with shared library
when debug is enabled.
It's better to remove this function as it probably could be implemented
with statistics API.

Fixes: cc7e8ae84faa ("add example application for link bonding mode 6")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
examples/bond/main.c
lib/librte_pmd_bond/rte_eth_bond_pmd.c