aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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));
}