From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 766222EA15C; Sat, 17 Oct 2026 17:18:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792257501; cv=none; b=s2HeoG/UIn2mZkLuyFPaI1Ato/x1ZJVQzQ6b+N+MMhfBevkY8bk1jPWpif6Sjd5qFQlVGtc37meWnpMYyowOWXYTeb6Y5w4hYqmmgyIswsE9cf2d+5WRncXvifkSuB1AwN9fZQbk46cZ3AVBFiRCxbsOJHWCItLWsgwCvskGkes= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792257501; c=relaxed/simple; bh=GcxI7ulKPEe+LMIfnPX8HB3axZ63Cfip1e6uR60oa80=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sd+t0nbc0dNHGOBF3SLefkp4bTnIV+a3yhFWlAq8+3cd1wQohEmzgP2NhfxvhMMigcQSErUun/P9GdiwBvjs/kQRrjlhSs4RnWvjh0Iz9hriBN3KRaRv59K7nWSytyyPeZpYIhY4uLpJA26VJq1ZZJFCWrdKEtW+/AKbi9fDWn4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WDbAUbl7; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WDbAUbl7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0DE21F000C4; Sat, 17 Oct 2026 17:18:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792257500; bh=yeQ06uSSKl1+k+SSNzv8dYcEx3WbNCcPvLT4EKtsbX4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WDbAUbl7VQjhmzh1P656m9cruZ8TJIpsDxIZcCJL3P64a6OFr98Les8zysUCMfPNy /tRC+2Zv0kCneX7rvOTUOUMuVL4mAtkZQDDY6C8LKQktTc5gMONINsrwGmqLKkmWAF mdBid/YXWxUl7vlzyJ49asG3uL24550k4vO/oom4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jiri Pirko , Marc Harvey , Kuniyuki Iwashima , Paolo Abeni , Sasha Levin Subject: [PATCH 6.6 0580/1674] net: team: Remove unused team_mode_op, port_enabled Date: Sat, 17 Oct 2026 17:47:32 +0200 Message-ID: <20261017160445.977739931@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261017160431.119607952@linuxfoundation.org> References: <20261017160431.119607952@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Marc Harvey [ Upstream commit 014f249121d73909528df320818fba7693d0ec92 ] This team_mode_op wasn't used by any of the team modes, so remove it. Reviewed-by: Jiri Pirko Signed-off-by: Marc Harvey Reviewed-by: Kuniyuki Iwashima Link: https://patch.msgid.link/20260409-teaming-driver-internal-v7-2-f47e7589685d@google.com Signed-off-by: Paolo Abeni Stable-dep-of: b7454f1940c5 ("net: team: stop reusing skb after queue override") Signed-off-by: Sasha Levin --- 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 a4bf020cf8e7c..daf12b362d034 100644 --- a/drivers/net/team/team_core.c +++ b/drivers/net/team/team_core.c @@ -943,8 +943,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 cdc684e04a2fb..31a4f13ab2986 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); }; -- 2.53.0