summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-22 18:02:27 -0700
committerKees Cook <keescook@chromium.org>2017-11-21 15:57:10 -0800
commit513ae785c63c30741e46f43960213d4ae5382ec0 (patch)
tree72e6dcbc09b562679654aebfabdb8a4935580d91 /include/linux
parent7eeb6b893bd28c68b6d664de1d3120e49b855cdb (diff)
timer: Remove setup_*timer() interface
With all callers converted to timer_setup(), the old setup_*timer() interface can be removed. Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/timer.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/timer.h b/include/linux/timer.h
index a58097ea7cfc..47615dca4c5c 100644
--- a/include/linux/timer.h
+++ b/include/linux/timer.h
@@ -131,23 +131,6 @@ static inline void init_timer_on_stack_key(struct timer_list *timer,
(_timer)->data = (_data); \
} while (0)
-#define setup_timer(timer, fn, data) \
- __setup_timer((timer), (fn), (data), 0)
-#define setup_pinned_timer(timer, fn, data) \
- __setup_timer((timer), (fn), (data), TIMER_PINNED)
-#define setup_deferrable_timer(timer, fn, data) \
- __setup_timer((timer), (fn), (data), TIMER_DEFERRABLE)
-#define setup_pinned_deferrable_timer(timer, fn, data) \
- __setup_timer((timer), (fn), (data), TIMER_DEFERRABLE | TIMER_PINNED)
-#define setup_timer_on_stack(timer, fn, data) \
- __setup_timer_on_stack((timer), (fn), (data), 0)
-#define setup_pinned_timer_on_stack(timer, fn, data) \
- __setup_timer_on_stack((timer), (fn), (data), TIMER_PINNED)
-#define setup_deferrable_timer_on_stack(timer, fn, data) \
- __setup_timer_on_stack((timer), (fn), (data), TIMER_DEFERRABLE)
-#define setup_pinned_deferrable_timer_on_stack(timer, fn, data) \
- __setup_timer_on_stack((timer), (fn), (data), TIMER_DEFERRABLE | TIMER_PINNED)
-
#ifndef CONFIG_LOCKDEP
static inline void timer_setup(struct timer_list *timer,
void (*callback)(struct timer_list *),