bonding: options handling cleanup
[deliverable/linux.git] / drivers / net / bonding / bond_main.c
index e299c54ec1858c41a573ae31a687fcd6da0fa394..324389b44915fbd6c41a52853974355d220eb464 100644 (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;
 
        /*
This page took 0.034643 seconds and 5 git commands to generate.