summaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-07 16:32:14 +0200
committerJakub Kicinski <kuba@kernel.org>2023-08-09 01:07:43 +0200
commitb876b71a6ac24265848cff4f208e96bf82c32b29 (patch)
treea4749086bf3314192b6066d6bec7bef9d9242b87 /include/net/devlink.h
parentnet: fq: Remove unused typedef fq_flow_get_default_t (diff)
downloadlinux-b876b71a6ac24265848cff4f208e96bf82c32b29.tar.xz
linux-b876b71a6ac24265848cff4f208e96bf82c32b29.zip
devlink: Remove unused devlink_dpipe_table_resource_set() declaration
Commit f655dacb59ac ("net: devlink: remove unused locked functions") removed this but leave the declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20230807143214.46648-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r--include/net/devlink.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h
index a1a8e1b6e7df..f7fec0791acc 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -1743,9 +1743,6 @@ int devl_resource_size_get(struct devlink *devlink,
int devl_dpipe_table_resource_set(struct devlink *devlink,
const char *table_name, u64 resource_id,
u64 resource_units);
-int devlink_dpipe_table_resource_set(struct devlink *devlink,
- const char *table_name, u64 resource_id,
- u64 resource_units);
void devl_resource_occ_get_register(struct devlink *devlink,
u64 resource_id,
devlink_resource_occ_get_t *occ_get,