projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
209bccb
)
devlink: Remove unused devlink_dpipe_table_resource_set() declaration
author
Yue Haibing
<yuehaibing@huawei.com>
Mon, 7 Aug 2023 14:32:14 +0000
(22:32 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 8 Aug 2023 23:07:43 +0000
(16:07 -0700)
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>
include/net/devlink.h
patch
|
blob
|
history
diff --git
a/include/net/devlink.h
b/include/net/devlink.h
index
a1a8e1b
..
f7fec07
100644
(file)
--- 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,