diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-01-18 16:21:10 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-19 19:08:37 -0800 |
commit | 9f167327efecc3977deff0c852760e3759b0c2a7 (patch) | |
tree | a250b1c68c34d5867056964010b08d12f24add15 /include/net/devlink.h | |
parent | 1dea3b4e4c52f4bed64d1c527d548e82ccaea15a (diff) | |
download | linux-stable-9f167327efecc3977deff0c852760e3759b0c2a7.tar.gz linux-stable-9f167327efecc3977deff0c852760e3759b0c2a7.tar.bz2 linux-stable-9f167327efecc3977deff0c852760e3759b0c2a7.zip |
devlink: remove devl*_port_health_reporter_destroy()
Remove port-specific health reporter destroy function as it is
currently the same as the instance one so no longer needed. Inline
__devlink_health_reporter_destroy() as it is no longer called from
multiple places.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
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 d9ea76bea36e..608a0c198be8 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -1889,12 +1889,6 @@ devl_health_reporter_destroy(struct devlink_health_reporter *reporter); void devlink_health_reporter_destroy(struct devlink_health_reporter *reporter); -void -devl_port_health_reporter_destroy(struct devlink_health_reporter *reporter); - -void -devlink_port_health_reporter_destroy(struct devlink_health_reporter *reporter); - void * devlink_health_reporter_priv(struct devlink_health_reporter *reporter); int devlink_health_report(struct devlink_health_reporter *reporter, |