]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/sched: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:43:22 +0000 (11:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:35:44 +0000 (10:35 +0100)
commitefcb2d32a8f5afb4173a868a7616db1718641420
tree16608aaaf597e7977dd7bb1f520800cad22aefd7
parentfe0b776543e986249f48611387c847e5564a3647
net/sched: Switch to use hrtimer_setup()

hrtimer_setup() takes the callback function pointer as argument and
initializes the timer completely.

Replace hrtimer_init() and the open coded initialization of
hrtimer::function with the new setup mechanism.

Patch was created by using Coccinelle.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/f1d4843589dd924743b35de1f0920c4a4c43be01.1738746872.git.namcao@linutronix.de
net/sched/act_gate.c
net/sched/sch_api.c
net/sched/sch_taprio.c