Skip to content

Commit

Permalink
team: pass NULL to __team_option_inst_add() instead of 0
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Jun 19, 2012
1 parent 01048d9 commit f88725f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/team/team.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f88725f

Please sign in to comment.