From: Jiri Pirko Date: Tue, 19 Jun 2012 05:54:15 +0000 (+0000) Subject: team: pass NULL to __team_option_inst_add() instead of 0 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f88725ffb069fef0ea3d47381d33c928f4c48cba;p=linux-beck.git team: pass NULL to __team_option_inst_add() instead of 0 Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index da72f41d3914..eb18ac93095a 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c @@ -164,7 +164,7 @@ static int __team_option_inst_add_option(struct team *team, int err; if (!option->per_port) { - err = __team_option_inst_add(team, option, 0); + err = __team_option_inst_add(team, option, NULL); if (err) goto inst_del_option; }