summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-11 23:13:49 -0700
committerKees Cook <keescook@chromium.org>2017-11-21 15:57:09 -0800
commit7eeb6b893bd28c68b6d664de1d3120e49b855cdb (patch)
tree47dfd9096c2f8018fd2bf3ef6ad4cb35378ec69e /include
parent86cb30ec07cdc78ad94d94bb3756c7c2d46968b9 (diff)
downloadlinux-stable-7eeb6b893bd28c68b6d664de1d3120e49b855cdb.tar.gz
linux-stable-7eeb6b893bd28c68b6d664de1d3120e49b855cdb.tar.bz2
linux-stable-7eeb6b893bd28c68b6d664de1d3120e49b855cdb.zip
timer: Remove init_timer() interface
All users of init_timer() have been updated. Remove the ancient interface. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/timer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/timer.h b/include/linux/timer.h
index bf781acfc6d8..a58097ea7cfc 100644
--- a/include/linux/timer.h
+++ b/include/linux/timer.h
@@ -117,9 +117,6 @@ static inline void init_timer_on_stack_key(struct timer_list *timer,
init_timer_on_stack_key((_timer), (_flags), NULL, NULL)
#endif
-#define init_timer(timer) \
- __init_timer((timer), 0)
-
#define __setup_timer(_timer, _fn, _data, _flags) \
do { \
__init_timer((_timer), (_flags)); \