mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
team: pass NULL to __team_option_inst_add() instead of 0
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
01048d9a29
commit
f88725ffb0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user