Commit f88725ff authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

team: pass NULL to __team_option_inst_add() instead of 0

Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 01048d9a
...@@ -164,7 +164,7 @@ static int __team_option_inst_add_option(struct team *team, ...@@ -164,7 +164,7 @@ static int __team_option_inst_add_option(struct team *team,
int err; int err;
if (!option->per_port) { if (!option->per_port) {
err = __team_option_inst_add(team, option, 0); err = __team_option_inst_add(team, option, NULL);
if (err) if (err)
goto inst_del_option; goto inst_del_option;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment