summaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-10-21 16:16:13 +0200
committerJakub Kicinski <kuba@kernel.org>2021-10-23 01:15:41 +0200
commit99ad92eff76491331a90d839dd6b7225cf8dd53e (patch)
treedfef3fe45c3caad73c18739f6ef66b24d54ddfc8 /include/net/devlink.h
parentgre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE... (diff)
downloadlinux-99ad92eff76491331a90d839dd6b7225cf8dd53e.tar.xz
linux-99ad92eff76491331a90d839dd6b7225cf8dd53e.zip
devlink: Delete obsolete parameters publish API
The change of devlink_register() to be last devlink command together with delayed notification logic made the publish API to be obsolete. Signed-off-by: Leon Romanovsky <leonro@nvidia.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 da3ceeb8b87b..1b1317d378de 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -468,7 +468,6 @@ struct devlink_param_item {
const struct devlink_param *param;
union devlink_param_value driverinit_value;
bool driverinit_value_valid;
- bool published;
};
enum devlink_param_generic_id {
@@ -1592,8 +1591,6 @@ int devlink_param_register(struct devlink *devlink,
const struct devlink_param *param);
void devlink_param_unregister(struct devlink *devlink,
const struct devlink_param *param);
-void devlink_params_publish(struct devlink *devlink);
-void devlink_params_unpublish(struct devlink *devlink);
int devlink_param_driverinit_value_get(struct devlink *devlink, u32 param_id,
union devlink_param_value *init_val);
int devlink_param_driverinit_value_set(struct devlink *devlink, u32 param_id,