Skip to content

Commit 4c78bb8

Browse files
Jiri Pirkodavem330
authored andcommitted
team: lb: let userspace care about port macs
Better to leave this for userspace Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a74e910 commit 4c78bb8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

drivers/net/team/team_mode_loadbalance.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -142,22 +142,10 @@ static void lb_exit(struct team *team)
142142
ARRAY_SIZE(lb_options));
143143
}
144144

145-
static int lb_port_enter(struct team *team, struct team_port *port)
146-
{
147-
return team_port_set_team_mac(port);
148-
}
149-
150-
static void lb_port_change_mac(struct team *team, struct team_port *port)
151-
{
152-
team_port_set_team_mac(port);
153-
}
154-
155145
static const struct team_mode_ops lb_mode_ops = {
156146
.init = lb_init,
157147
.exit = lb_exit,
158148
.transmit = lb_transmit,
159-
.port_enter = lb_port_enter,
160-
.port_change_mac = lb_port_change_mac,
161149
};
162150

163151
static struct team_mode lb_mode = {

0 commit comments

Comments
 (0)