From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 931D148033E for ; Tue, 5 May 2026 14:25:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777991122; cv=none; b=INh6b06ffslEY7EdZkbX8cVFIVpoYnSRbT0O3v6h7SfPVyU/yBR9m+p5qjN70G5iI07ZlpCduzBKSU+/25gdDonKG/qRIIOVU7tjeaxbo3kyB4TBr7x+ceq9P7G0Dyx2+DdQ5msR5j5a7/GbZ3xgMbEJQowskARglXoMiOXApUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777991122; c=relaxed/simple; bh=OzZz87E9y8On9+h9EZVCDPEo5r5bgel2dN1ZgzVVIjQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Aw40cHiuWSOdtPlqUaJzqG1L98zF3sFKMirTrfRAqcSJy9cK0EcKwU3oFfmdC2Lm084c7JMkaUg1k/+N5Umc1Hkq0nHuVV+2LAQrCjpta+TUIUx83zG3lrvLa0yT2LJOaix37zYyZAJ1DYv/20U0+GBOYtTo4pNeL46OkzdQWY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=C6JL/2RU; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="C6JL/2RU" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id D0578C5D73F; Tue, 5 May 2026 14:26:05 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id EAB716053C; Tue, 5 May 2026 14:25:18 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4902411AD023C; Tue, 5 May 2026 16:25:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1777991117; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=fd0r5gzkZ13xg/2vftq+54drtx24BJYzujf8r0ThKNw=; b=C6JL/2RUs8uWKRbB54M7ixLi8mkJ0+wMEDhMuQ/WVvZ4qNh0A8Zczl0glTMlaYl+kiIzwy thvBl4NhOMWcV58OOppl5vK2pQn65uqjele6/hegE2gAnE9m5in92oIs4aPmVRO+m5yGZh 6VYDoZxnqFKCvsuGtDoJ0WHekWnrNeKS9BRWbOPmteCA9V81Hs4lu7PfxxHhwKK00ouRGR D3p57XLLmamldvdITosHoVzjDX2kH/AeJz4MNwckCV0OqOP7Nxw1D77+XkLo4Y+1DX+73E tywRLZWwIcwhN3isFhRzw9Eneqp1blFI2quWjXM3OQtcwOWBJ1voGaCXi/rY5g== From: "Bastien Curutchet (Schneider Electric)" Date: Tue, 05 May 2026 16:25:02 +0200 Subject: [PATCH net-next 2/9] net: dsa: microchip: remove unused port_cleanup() callback Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260505-clean-ksz-driver-v1-2-05d70fa42461@bootlin.com> References: <20260505-clean-ksz-driver-v1-0-05d70fa42461@bootlin.com> In-Reply-To: <20260505-clean-ksz-driver-v1-0-05d70fa42461@bootlin.com> To: Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Chevallier , Russell King Cc: Pascal Eberhard , =?utf-8?q?Miqu=C3=A8l_Raynal?= , Thomas Petazzoni , Tristram Ha , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Bastien Curutchet (Schneider Electric)" X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 ksz_dev_ops :: port_cleanup() isn't used anywhere. Remove it. Signed-off-by: Bastien Curutchet (Schneider Electric) --- drivers/net/dsa/microchip/ksz_common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h index 18f13ee9c7b68..cf2d0d91f1732 100644 --- a/drivers/net/dsa/microchip/ksz_common.h +++ b/drivers/net/dsa/microchip/ksz_common.h @@ -363,7 +363,6 @@ struct ksz_dev_ops { u32 (*get_port_addr)(int port, int offset); void (*cfg_port_member)(struct ksz_device *dev, int port, u8 member); void (*flush_dyn_mac_table)(struct ksz_device *dev, int port); - void (*port_cleanup)(struct ksz_device *dev, int port); void (*port_setup)(struct ksz_device *dev, int port, bool cpu_port); int (*set_ageing_time)(struct ksz_device *dev, unsigned int msecs); -- 2.53.0