* [PATCH net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration
@ 2023-08-07 14:32 Yue Haibing
2023-08-07 17:03 ` Jiri Pirko
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yue Haibing @ 2023-08-07 14:32 UTC (permalink / raw)
To: jiri, davem, edumazet, kuba, pabeni; +Cc: netdev, yuehaibing
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(-)
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,
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration
2023-08-07 14:32 [PATCH net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration Yue Haibing
@ 2023-08-07 17:03 ` Jiri Pirko
2023-08-08 23:08 ` Jakub Kicinski
2023-08-08 23:10 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Jiri Pirko @ 2023-08-07 17:03 UTC (permalink / raw)
To: Yue Haibing; +Cc: davem, edumazet, kuba, pabeni, netdev
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration
2023-08-07 14:32 [PATCH net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration Yue Haibing
2023-08-07 17:03 ` Jiri Pirko
@ 2023-08-08 23:08 ` Jakub Kicinski
2023-08-08 23:10 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2023-08-08 23:08 UTC (permalink / raw)
To: Yue Haibing; +Cc: jiri, davem, edumazet, pabeni, netdev
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")
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration
2023-08-07 14:32 [PATCH net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration Yue Haibing
2023-08-07 17:03 ` Jiri Pirko
2023-08-08 23:08 ` Jakub Kicinski
@ 2023-08-08 23:10 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-08 23:10 UTC (permalink / raw)
To: Yue Haibing; +Cc: jiri, davem, edumazet, kuba, pabeni, netdev
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-08 23:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07 14:32 [PATCH net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration Yue Haibing
2023-08-07 17:03 ` Jiri Pirko
2023-08-08 23:08 ` Jakub Kicinski
2023-08-08 23:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox