From: Jiri Pirko Date: Fri, 20 Apr 2012 04:42:04 +0000 (+0000) Subject: team: lb: let userspace care about port macs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c78bb845bd2aaf1f7136e75314c7d034cfd120f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git team: lb: let userspace care about port macs Better to leave this for userspace Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/team/team_mode_loadbalance.c b/drivers/net/team/team_mode_loadbalance.c index 2b506b29a874..438d5b871630 100644 --- a/drivers/net/team/team_mode_loadbalance.c +++ b/drivers/net/team/team_mode_loadbalance.c @@ -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 = {