Skip to content

Commit 514dcf7

Browse files
kmaincentPaolo Abeni
authored andcommitted
net: pse-pd: Remove unused pse_ethtool_get_pw_limit function declaration
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. Reviewed-by: Kalesh AP <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Acked-by: Oleksij Rempel <[email protected]> Reviewed-by: Kyle Swenson <[email protected]> Signed-off-by: Kory Maincent <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
1 parent 2b1d911 commit 514dcf7

File tree

1 file changed

+0
-8
lines changed
  • include/linux/pse-pd

1 file changed

+0
-8
lines changed

include/linux/pse-pd/pse.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ int pse_ethtool_set_config(struct pse_control *psec,
184184
int pse_ethtool_set_pw_limit(struct pse_control *psec,
185185
struct netlink_ext_ack *extack,
186186
const unsigned int pw_limit);
187-
int pse_ethtool_get_pw_limit(struct pse_control *psec,
188-
struct netlink_ext_ack *extack);
189187

190188
bool pse_has_podl(struct pse_control *psec);
191189
bool pse_has_c33(struct pse_control *psec);
@@ -222,12 +220,6 @@ static inline int pse_ethtool_set_pw_limit(struct pse_control *psec,
222220
return -EOPNOTSUPP;
223221
}
224222

225-
static inline int pse_ethtool_get_pw_limit(struct pse_control *psec,
226-
struct netlink_ext_ack *extack)
227-
{
228-
return -EOPNOTSUPP;
229-
}
230-
231223
static inline bool pse_has_podl(struct pse_control *psec)
232224
{
233225
return false;

0 commit comments

Comments
 (0)