devlink: Move health common function to health file
authorMoshe Shemesh <moshe@nvidia.com>
Tue, 14 Feb 2023 16:38:04 +0000 (18:38 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Feb 2023 03:15:44 +0000 (19:15 -0800)
commit12af29e7790af811611409194f61d054e54365b9
treeb20090d66d6616d30bc8147d5253f5bc796abba5
parentc9311ee13f0ebd6d684793f88b91092672c21171
devlink: Move health common function to health file

Now that all devlink health callbacks and related code are in file
health.c move common health functions and devlink_health_reporter struct
to be local in health.c file.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/devlink/devl_internal.h
net/devlink/health.c