team: pass NULL to __team_option_inst_add() instead of 0
authorJiri Pirko <jpirko@redhat.com>
Tue, 19 Jun 2012 05:54:15 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 22:00:24 +0000 (15:00 -0700)
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c

index da72f41d3914fd462e2dd64b01f1ac52d3f84ae0..eb18ac93095a6d4e1ee0189ac4edefb138666a40 100644 (file)
@@ -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;
        }