team: lb: let userspace care about port macs
authorJiri Pirko <jpirko@redhat.com>
Fri, 20 Apr 2012 04:42:04 +0000 (04:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Apr 2012 20:26:33 +0000 (16:26 -0400)
Better to leave this for userspace

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team_mode_loadbalance.c

index 2b506b29a874b22763f397b2b2c3875fa7e08e0e..438d5b87163050ae5198c4162cd32f0992055f26 100644 (file)
@@ -142,22 +142,10 @@ static void lb_exit(struct team *team)
                                ARRAY_SIZE(lb_options));
 }
 
-static int lb_port_enter(struct team *team, struct team_port *port)
-{
-       return team_port_set_team_mac(port);
-}
-
-static void lb_port_change_mac(struct team *team, struct team_port *port)
-{
-       team_port_set_team_mac(port);
-}
-
 static const struct team_mode_ops lb_mode_ops = {
        .init                   = lb_init,
        .exit                   = lb_exit,
        .transmit               = lb_transmit,
-       .port_enter             = lb_port_enter,
-       .port_change_mac        = lb_port_change_mac,
 };
 
 static struct team_mode lb_mode = {