Message ID | 20230807143214.46648-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b876b71a6ac24265848cff4f208e96bf82c32b29 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration | expand |
Mon, Aug 07, 2023 at 04:32:14PM CEST, yuehaibing@huawei.com wrote: >Commit f6b19b354d50 ("net: devlink: select NET_DEVLINK from drivers") >removed this but leave the declaration. > >Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com>
On Mon, 7 Aug 2023 22:32:14 +0800 Yue Haibing wrote:
> Commit f6b19b354d50 ("net: devlink: select NET_DEVLINK from drivers")
FTR not really, that commit just removed a stub. I fixed it to say
f655dacb59ac ("net: devlink: remove unused locked functions")
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Mon, 7 Aug 2023 22:32:14 +0800 you wrote: > Commit f6b19b354d50 ("net: devlink: select NET_DEVLINK from drivers") > removed this but leave the declaration. > > Signed-off-by: Yue Haibing <yuehaibing@huawei.com> > --- > include/net/devlink.h | 3 --- > 1 file changed, 3 deletions(-) Here is the summary with links: - [net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration https://git.kernel.org/netdev/net-next/c/b876b71a6ac2 You are awesome, thank you!
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,
Commit f6b19b354d50 ("net: devlink: select NET_DEVLINK from drivers") removed this but leave the declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> --- include/net/devlink.h | 3 --- 1 file changed, 3 deletions(-)