diff --git a/drivers/net/bonding/bond_options.c b/drivers/net/bonding/bond_options.c index 81c039531e66f74c8b6dd0478388e9f427a21632..0cf25de6f46d8e13fd32751d5cae264e5dfbcc77 100644 --- a/drivers/net/bonding/bond_options.c +++ b/drivers/net/bonding/bond_options.c @@ -705,7 +705,7 @@ int __bond_opt_set(struct bonding *bond, int __bond_opt_set_notify(struct bonding *bond, unsigned int option, struct bond_opt_value *val) { - int ret = -ENOENT; + int ret; ASSERT_RTNL();