diff mbox series

[net-next] devlink: Remove unused devlink_dpipe_table_resource_set() declaration

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

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1707 this patch: 1707
netdev/cc_maintainers success CCed 6 of 6 maintainers
netdev/build_clang success Errors and warnings before: 1366 this patch: 1366
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1880 this patch: 1880
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 9 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yue Haibing Aug. 7, 2023, 2:32 p.m. UTC
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(-)

Comments

Jiri Pirko Aug. 7, 2023, 5:03 p.m. UTC | #1
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>
Jakub Kicinski Aug. 8, 2023, 11:08 p.m. UTC | #2
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")
patchwork-bot+netdevbpf@kernel.org Aug. 8, 2023, 11:10 p.m. UTC | #3
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 mbox series

Patch

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,