mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
config: remove HAVE_KERNEL_TIMER_SETUP
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16479
This commit is contained in:
@@ -62,18 +62,4 @@
|
||||
container_of(timer, typeof(*var), timer_field)
|
||||
#endif
|
||||
|
||||
typedef struct timer_list *spl_timer_list_t;
|
||||
|
||||
#ifndef HAVE_KERNEL_TIMER_SETUP
|
||||
|
||||
static inline void
|
||||
timer_setup(struct timer_list *timer, void (*func)(spl_timer_list_t), u32 fl)
|
||||
{
|
||||
(timer)->flags = fl;
|
||||
init_timer(timer);
|
||||
setup_timer(timer, func, (spl_timer_list_t)(timer));
|
||||
}
|
||||
|
||||
#endif /* HAVE_KERNEL_TIMER_SETUP */
|
||||
|
||||
#endif /* _SPL_TIMER_H */
|
||||
|
||||
Reference in New Issue
Block a user