From nobody Fri Apr 3 17:32:19 2026 Received: from mail-dy1-f202.google.com (mail-dy1-f202.google.com [74.125.82.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79ADB378D92 for ; Fri, 3 Apr 2026 07:14:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775200474; cv=none; b=k5nUD5TTkFnfi8p5vou9N1EMgaL0VSTKnklZS2gN+SOTVmpG/jVCy+lSd8TOgAl7nFIQQxUu8H07yN/ZDlUl6V4LINYMW8qAoCIBRKKAK0WR0MsVDX91srEL3j26J8xA3JJFbF1ujWHub3062llF3CI1UbZ8bt2746PaCXkT6b4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775200474; c=relaxed/simple; bh=JjS6MuWrzLQ484r+Wytp35TgT78rt/ZzACL6KUmL0o0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Jx46dlknvySW4YgIqCtmt/zM5pJzuH9fjgbC1NH0z6HYtk9NFVyds2t2xZE2skB3RXhxXS03QlGaq4B3fifw5SBRRQA69kZdO/YbcG/C0TvIU73eFLPEWbrcyjJjEHQpWM5LYrkA6NOUdkNoSz8G5wGu+ywLWexDc8SbwQdYQS8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--marcharvey.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=hW9gkIYJ; arc=none smtp.client-ip=74.125.82.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--marcharvey.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hW9gkIYJ" Received: by mail-dy1-f202.google.com with SMTP id 5a478bee46e88-2c0f6593ef5so2202203eec.1 for ; Fri, 03 Apr 2026 00:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1775200473; x=1775805273; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=sH3+awQ2VJG9FRCmCvGcnPpepbVJPLxWI2KeuMcmXiQ=; b=hW9gkIYJtQ1qvaWk91pKISPu5N/MRg+yxakbe/DC1Q20i6sfRhqnZtqGuBJDubtg0k QwEbI39QKGeQceEPGiouhSNFOi6ttMid79GpiVhN9g6e13sNx7+Wcgu/IilKJvmKIcpS j51QBLPmdWy0Y6Un5u7sSKHLTctEQ5KuvcilrlzDLgqdRsXVNiE3GroOq6i4EP2HggP1 yl5IpYq3hbQo6nJVknO8AHBuh7xFSQE8l7iAOaesWlu0rYe3G63c4maOgyXJESJc43Xl h4ZlVtAvFuMRjqD+ZLMQM8Ws0F/BZzbFdJiVTcze1kA+8P0iiavinX95F1EmpfiuozKh l6Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775200473; x=1775805273; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sH3+awQ2VJG9FRCmCvGcnPpepbVJPLxWI2KeuMcmXiQ=; b=LlxiMmiCSU4nbN6k2Q3C8QdxiEYejSa+yFdCQy7qK9bqxbx5CVV7JfT21gIggviuvW ssj551NqBgTs2slQRnhfiinOMPL6pnkGL92rguTif0XDrVcq/5Dk5/8juRfc46yK1WHp 1giLHN27Q3YOLRH5adKP9l6535CovKFyTc25daFjDRvLW+e/kWhCwptxjpNzkSfuEJH0 ZXTN5FB8TvLjq6SYouObI3xOpe1rkLeFBwuuV9TM4PeEpGmwqQsL32sywTmbPPNnMlPR AQLSUm8WgYJQtDylK04BmbJM5uBMvSARCaKix2mgwGc+rgHi7Gh/CT/MwfTojaxzwb9x 9sbQ== X-Forwarded-Encrypted: i=1; AJvYcCUGj7nJ5tnqnwJJ8zAdwQe3id/R4AaD7C4YZY60qHF1/vvHNuI7BgiL0l6pt/cNP9NIW4MMvAwQRiuv5CI=@vger.kernel.org X-Gm-Message-State: AOJu0YyArA2IEhadLz1hfzOYDWjx8kAFQWzB96vcAwjHFK6lVTls15IS x9WS5o2uU3ko/SaxBfKfK8jFn0saZRbvUCZJ8fk3IlbDaHErIToblqnjuM/t//NJuwHMhiBCbp8 ZAHZEFaP3SX3ExfP60JMLiA== X-Received: from dyaf11-n1.prod.google.com ([2002:a05:693c:838b:10b0:2cb:735c:182c]) (user=marcharvey job=prod-delivery.src-stubby-dispatcher) by 2002:a05:693c:2b14:b0:2c5:d833:a4fe with SMTP id 5a478bee46e88-2cbfa5bf117mr923062eec.10.1775200472427; Fri, 03 Apr 2026 00:14:32 -0700 (PDT) Date: Fri, 03 Apr 2026 07:14:23 +0000 In-Reply-To: <20260403-teaming-driver-internal-v4-0-d3032f33ca25@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260403-teaming-driver-internal-v4-0-d3032f33ca25@google.com> X-Developer-Key: i=marcharvey@google.com; a=ed25519; pk=OzOeciadbfF5Bug/4/hyEAwfrruSY4tn0Q0LocyYUL0= X-Developer-Signature: v=1; a=ed25519-sha256; t=1775200467; l=1461; i=marcharvey@google.com; s=20260401; h=from:subject:message-id; bh=JjS6MuWrzLQ484r+Wytp35TgT78rt/ZzACL6KUmL0o0=; b=WaaKcCy6jw5XvMICkOKbYOhzmRWQdzj3dQmC//JznTNilpSYDLyMIPk7NU2fYSUCfczxIf585 TUniz+tRtmCD+2aGkmk5rkyxA2PpoukSRZ62kUhqm0Eqbv4u7F5dDR4 X-Mailer: b4 0.14.3 Message-ID: <20260403-teaming-driver-internal-v4-2-d3032f33ca25@google.com> Subject: [PATCH net-next v4 02/10] net: team: Remove unused team_mode_op, port_enabled From: Marc Harvey To: Jiri Pirko , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , Simon Horman Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Marc Harvey Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This team_mode_op wasn't used by any of the team modes, so remove it. Signed-off-by: Marc Harvey --- Changes in v4: - None Changes in v3: - None Changes in v2: - None --- drivers/net/team/team_core.c | 2 -- include/linux/if_team.h | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/net/team/team_core.c b/drivers/net/team/team_core.c index becd066279a6..e54bd21bd068 100644 --- a/drivers/net/team/team_core.c +++ b/drivers/net/team/team_core.c @@ -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); 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); }; =20 --=20 2.53.0.1185.g05d4b7b318-goog