From patchwork Wed Oct 2 16:27:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13820052 X-Patchwork-Delegate: kuba@kernel.org Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 677661D0E12; Wed, 2 Oct 2024 16:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727886550; cv=none; b=kf1SRwKvTvHkcFtqLXgFHYAC7ThxXDYnXdz3vo1rl2ZXWpcLDdjdkhLyZvgfG9s9oabAOzY7hmmSy6ZUFfl+W7yPp84cZFK0AEP314UQllVzsWjr19uhga/GjlehAu61ol3yZcH6OJd+4Icu+tLegwkQAmWA7s9NwdWw7hH+FZo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727886550; c=relaxed/simple; bh=yqdYmWDPi96O6HF7ebbWScHKYpa6AeAvglvLs6cCSDk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LCLKR4OJJ1bFSYcpVCGevseepVfrKUsNlVMh/sKsB60ke4PeWU0Y8ZtzISI9JEB3s1gPsO1+/gFmRYGgWTayetGqWH9dJds1323jKtjeW8eMJ5H/SyiSHctm5GM4Oxpl45kuEDpcYbXCX3dEWYSZL650R4BW5Cdmb6WE/unoTYw= 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=bi6SBDSk; arc=none smtp.client-ip=217.70.183.201 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="bi6SBDSk" Received: by mail.gandi.net (Postfix) with ESMTPSA id 103421BF207; Wed, 2 Oct 2024 16:29:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1727886546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kmgCX7Kwi/ErDtCadQPfPVZMgNr8nBIPVozcbt2OctU=; b=bi6SBDSktJJ3iNepc/zdDpDY/ZSwcYj/JsfdMJWSkQ776FDpd9emiE9ECcATgIT7f+Aish dyiGNKP5Sz2JFPXpR4Zjvl8ruT+HhR8JXpKcpXGG35aMr6qEzK+je0trW1VQUVmmmngjRj 2uzjLbbXKbgfBkM78ZfNwPJH5xkhBtzUovOSQq+t2TUuQnP5/MM9uRm6NBy44URbypl1q5 ZBoTiSbgZmciaQeQpYcLr01tZ+/+mYX45CGZfSCuIZ1mMp9W+LK2AV8H1dCGvXyQzz3APV sDxRwokM14OBhByMlvnbBQCbCNC4UNeCJt8280d80s4/3Ptld/hNz3jRAHQGxQ== From: Kory Maincent Date: Wed, 02 Oct 2024 18:27:57 +0200 Subject: [PATCH net-next 01/12] net: pse-pd: Remove unused pse_ethtool_get_pw_limit function declaration Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241002-feature_poe_port_prio-v1-1-787054f74ed5@bootlin.com> References: <20241002-feature_poe_port_prio-v1-0-787054f74ed5@bootlin.com> In-Reply-To: <20241002-feature_poe_port_prio-v1-0-787054f74ed5@bootlin.com> To: Oleksij Rempel , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Donald Hunter Cc: Thomas Petazzoni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, Kyle Swenson , Dent Project , kernel@pengutronix.de, Kory Maincent X-Mailer: b4 0.15-dev-8cb71 X-GND-Sasl: kory.maincent@bootlin.com X-Patchwork-Delegate: kuba@kernel.org From: Kory Maincent (Dent Project) Removed the unused pse_ethtool_get_pw_limit() function declaration from pse.h. This function was declared but never implemented or used, making the declaration unnecessary. Signed-off-by: Kory Maincent Reviewed-by: Andrew Lunn Reviewed-by: Kalesh AP Acked-by: Oleksij Rempel --- include/linux/pse-pd/pse.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/linux/pse-pd/pse.h b/include/linux/pse-pd/pse.h index 591a53e082e6..85a08c349256 100644 --- a/include/linux/pse-pd/pse.h +++ b/include/linux/pse-pd/pse.h @@ -184,8 +184,6 @@ int pse_ethtool_set_config(struct pse_control *psec, int pse_ethtool_set_pw_limit(struct pse_control *psec, struct netlink_ext_ack *extack, const unsigned int pw_limit); -int pse_ethtool_get_pw_limit(struct pse_control *psec, - struct netlink_ext_ack *extack); bool pse_has_podl(struct pse_control *psec); bool pse_has_c33(struct pse_control *psec); @@ -222,12 +220,6 @@ static inline int pse_ethtool_set_pw_limit(struct pse_control *psec, return -EOPNOTSUPP; } -static inline int pse_ethtool_get_pw_limit(struct pse_control *psec, - struct netlink_ext_ack *extack) -{ - return -EOPNOTSUPP; -} - static inline bool pse_has_podl(struct pse_control *psec) { return false;