summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarc Harvey <marcharvey@google.com>2026-04-09 02:59:24 +0000
committerPaolo Abeni <pabeni@redhat.com>2026-04-13 15:09:48 +0200
commit014f249121d73909528df320818fba7693d0ec92 (patch)
tree42e649dffbcb83581845801e78158c0bb341efa6 /include/linux
parent3faf0ce6e499dfd32e596bcb5bca2c44d64f4cc1 (diff)
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/if_team.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h
index 06f4d7400c1e..a761f5282bcf 100644
--- a/include/linux/if_team.h
+++ b/include/linux/if_team.h
@@ -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);
};