summaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2022-07-11 01:14:02 -0700
committerPaolo Abeni <pabeni@redhat.com>2022-07-12 10:26:22 +0200
commit868232f5cd382c37a5005deb7be0620c6f7bc08d (patch)
treeea5a245786a92da2e4ae57b2a530abd527f55cb8 /include/net/devlink.h
parent03f9c47d0f7983bc73854ee34be6814b580ac7fc (diff)
downloadlinux-868232f5cd382c37a5005deb7be0620c6f7bc08d.tar.bz2
devlink: Remove unused function devlink_rate_nodes_destroy
The previous patch removed the last usage of the function devlink_rate_nodes_destroy(). Thus, remove this function from devlink API. Signed-off-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r--include/net/devlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h
index 2a2a2a0c93f7..0e163cc87d45 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -1571,7 +1571,6 @@ void devlink_port_attrs_pci_sf_set(struct devlink_port *devlink_port,
bool external);
int devlink_rate_leaf_create(struct devlink_port *port, void *priv);
void devlink_rate_leaf_destroy(struct devlink_port *devlink_port);
-void devlink_rate_nodes_destroy(struct devlink *devlink);
void devlink_port_linecard_set(struct devlink_port *devlink_port,
struct devlink_linecard *linecard);
struct devlink_linecard *