git: 6aef530a8e3b - stable/15 - mlx5: remove init_timer()

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sat, 19 Sep 2026 14:40:21 UTC
The branch stable/15 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=6aef530a8e3b9520ec93fccff30a949f32c5a5bf

commit 6aef530a8e3b9520ec93fccff30a949f32c5a5bf
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-09-15 00:28:58 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-09-19 09:34:09 +0000

    mlx5: remove init_timer()
    
    The init_timer() was there from day one in (dc7e38ac4da50).  It was
    never needed as the setup_timer() below already did more than just
    that part of the job.
    This is part of trying to clear up the Linux pre-4.15 timer KPI
    from LinuxKPI.
    
    Reviewed by:    kib
    Differential Revision: https://reviews.freebsd.org/D59681
    
    (cherry picked from commit 3769ee9bc4167d4f508ba4f14cf544dedf7c520e)
---
 sys/dev/mlx5/mlx5_core/mlx5_health.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/mlx5/mlx5_core/mlx5_health.c b/sys/dev/mlx5/mlx5_core/mlx5_health.c
index 5a33e2dc2edc..f1b738fbb27c 100644
--- a/sys/dev/mlx5/mlx5_core/mlx5_health.c
+++ b/sys/dev/mlx5/mlx5_core/mlx5_health.c
@@ -648,7 +648,6 @@ void mlx5_start_health_poll(struct mlx5_core_dev *dev)
 {
 	struct mlx5_core_health *health = &dev->priv.health;
 
-	init_timer(&health->timer);
 	health->fatal_error = MLX5_SENSOR_NO_ERR;
 	clear_bit(MLX5_DROP_NEW_HEALTH_WORK, &health->flags);
 	clear_bit(MLX5_DROP_NEW_RECOVERY_WORK, &health->flags);