net/mlx5: Remove unused mlx5_core_health member recover_work
authorMikhael Goikhman <migo@nvidia.com>
Thu, 11 Mar 2021 07:09:09 +0000 (23:09 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 12 Mar 2021 21:07:01 +0000 (13:07 -0800)
The code related to health->recover_work was removed in
commit 63cbc552eebf ("net/mlx5: Handle SW reset of FW in error flow")

Fix struct mlx5_core_health accordingly.

Signed-off-by: Mikhael Goikhman <migo@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
include/linux/mlx5/driver.h

index 53b8963..8fe51b4 100644 (file)
@@ -438,7 +438,6 @@ struct mlx5_core_health {
        unsigned long                   flags;
        struct work_struct              fatal_report_work;
        struct work_struct              report_work;
-       struct delayed_work             recover_work;
        struct devlink_health_reporter *fw_reporter;
        struct devlink_health_reporter *fw_fatal_reporter;
 };