aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-03 13:56:01 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:49 -0700
commit1b522c4583ea297cad7b8d9871b8520332802bfc (patch)
tree5cbd18667df7c997c947eb5ae2beb0a8dcaa4016 /include
parenteb230c789a470e00dc4fc938d3c1445173e29773 (diff)
config: remove HAVE_KERNEL_TIMER_LIST_FLAGS
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'include')
-rw-r--r--include/os/linux/spl/sys/timer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/os/linux/spl/sys/timer.h b/include/os/linux/spl/sys/timer.h
index 02c3c7893..bcc58dbd8 100644
--- a/include/os/linux/spl/sys/timer.h
+++ b/include/os/linux/spl/sys/timer.h
@@ -73,9 +73,7 @@ typedef unsigned long spl_timer_list_t;
static inline void
timer_setup(struct timer_list *timer, void (*func)(spl_timer_list_t), u32 fl)
{
-#ifdef HAVE_KERNEL_TIMER_LIST_FLAGS
(timer)->flags = fl;
-#endif
init_timer(timer);
setup_timer(timer, func, (spl_timer_list_t)(timer));
}