Skip to content

Commit f88725f

Browse files
Jiri Pirkodavem330
authored andcommitted
team: pass NULL to __team_option_inst_add() instead of 0
Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 01048d9 commit f88725f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/team/team.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static int __team_option_inst_add_option(struct team *team,
164164
int err;
165165

166166
if (!option->per_port) {
167-
err = __team_option_inst_add(team, option, 0);
167+
err = __team_option_inst_add(team, option, NULL);
168168
if (err)
169169
goto inst_del_option;
170170
}

0 commit comments

Comments
 (0)