devlink: make devlink_param_register/unregister static
authorJiri Pirko <jiri@nvidia.com>
Thu, 26 Jan 2023 07:58:29 +0000 (08:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2023 12:32:02 +0000 (12:32 +0000)
commit020dd127a3fef9dfc6c03cd5d1c231d5e55d7632
tree386ccf6021fa2748dd8872b913f7e491123003c4
parenta756185ac3b9a846b7710a49422f7f57da638f30
devlink: make devlink_param_register/unregister static

There is no user outside the devlink code, so remove the export and make
the functions static. Move them before callers to avoid forward
declarations.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h
net/devlink/leftover.c