bond: fix variable initialization
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 7 Jul 2014 23:36:54 +0000 (00:36 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 18 Jul 2014 23:53:38 +0000 (01:53 +0200)
commit1ca78c81be0d6399e05709a18abd8c2fe6b1a782
treef7372c7bb4060b41016494aab60f47182e2df08e
parenta6664a09a7caa5e63f9ae625cf1946b0eef7794e
bond: fix variable initialization

Variable "valid_slave" wasn't getting properly zero-initialized.
This error is flagged by clang on compile.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Zhaochen Zhan <zhaochen.zhan@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_bond/rte_eth_bond_pmd.c