bonding: options handling cleanup

Make local functions static (ie. only used in bond_options.c)
Make bond options parsing tables constant.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
stephen hemminger
2014-03-04 16:36:44 -08:00
committed by David S. Miller
parent fca28094cd
commit f3253339a4
5 changed files with 141 additions and 127 deletions

View File

@@ -3950,7 +3950,8 @@ static void bond_uninit(struct net_device *bond_dev)
static int bond_check_params(struct bond_params *params)
{
int arp_validate_value, fail_over_mac_value, primary_reselect_value, i;
struct bond_opt_value newval, *valptr;
struct bond_opt_value newval;
const struct bond_opt_value *valptr;
int arp_all_targets_value;
/*