diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-09-23 21:12:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-24 14:12:56 +0100 |
commit | 42ded61aa75e3432a5363b87a597a43418aa54f2 (patch) | |
tree | f2f9fbd3c3e30e7e0eaa0e8690e88cfd2d8cef7d /include/net/devlink.h | |
parent | 61415c3db3d98c74bfe8f9e8688b6e40b4c3e1d4 (diff) | |
download | linux-42ded61aa75e3432a5363b87a597a43418aa54f2.tar.gz linux-42ded61aa75e3432a5363b87a597a43418aa54f2.tar.bz2 linux-42ded61aa75e3432a5363b87a597a43418aa54f2.zip |
devlink: Delete not used port parameters APIs
There is no in-kernel users for the devlink port parameters API,
so let's remove it.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r-- | include/net/devlink.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h index c902e8e5f012..a7852a257bf6 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -1653,12 +1653,6 @@ 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_port_params_register(struct devlink_port *devlink_port, - const struct devlink_param *params, - size_t params_count); -void devlink_port_params_unregister(struct devlink_port *devlink_port, - const struct devlink_param *params, - size_t params_count); 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, |