diff options
| author | Nam Cao <[email protected]> | 2025-02-05 10:38:59 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-02-18 09:32:32 +0000 |
| commit | b09dffdeb3691483fc8fbe58ff7787c964b56d5c (patch) | |
| tree | 6d427e75a14aa7fa42759c07e09d1eed71e78240 /io_uring/timeout.c | |
| parent | mm/slab: Switch to use hrtimer_setup() (diff) | |
| download | kernel-b09dffdeb3691483fc8fbe58ff7787c964b56d5c.tar.gz kernel-b09dffdeb3691483fc8fbe58ff7787c964b56d5c.zip | |
lib: test_objpool: 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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/all/edc46fbf290b280ebe67bb0d21599c4c30716b68.1738746821.git.namcao@linutronix.de
Diffstat (limited to 'io_uring/timeout.c')
0 files changed, 0 insertions, 0 deletions
