mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02:00
net: team: Remove unused team_mode_op, port_enabled
This team_mode_op wasn't used by any of the team modes, so remove it. Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Marc Harvey <marcharvey@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20260409-teaming-driver-internal-v7-2-f47e7589685d@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
3faf0ce6e4
commit
014f249121
|
|
@ -944,8 +944,6 @@ static void team_port_enable(struct team *team,
|
|||
team_port_index_hash(team, port->index));
|
||||
team_adjust_ops(team);
|
||||
team_queue_override_port_add(team, port);
|
||||
if (team->ops.port_enabled)
|
||||
team->ops.port_enabled(team, port);
|
||||
team_notify_peers(team);
|
||||
team_mcast_rejoin(team);
|
||||
team_lower_state_changed(port);
|
||||
|
|
|
|||
|
|
@ -121,7 +121,6 @@ struct team_mode_ops {
|
|||
int (*port_enter)(struct team *team, struct team_port *port);
|
||||
void (*port_leave)(struct team *team, struct team_port *port);
|
||||
void (*port_change_dev_addr)(struct team *team, struct team_port *port);
|
||||
void (*port_enabled)(struct team *team, struct team_port *port);
|
||||
void (*port_disabled)(struct team *team, struct team_port *port);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user