]> git.baikalelectronics.ru Git - kernel.git/commit
timer: Pass timer_list pointer to callbacks unconditionally
authorKees Cook <keescook@chromium.org>
Mon, 23 Oct 2017 01:18:19 +0000 (18:18 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 21 Nov 2017 23:57:12 +0000 (15:57 -0800)
commitbe1d31be7bd3d78e17d14c36529a38546c16cfc2
tree1bddfc4131bcc5281e31bd6bd33a7fc9e41ad36e
parent6bdd72008bbe026b399914a2dd731c42802be344
timer: Pass timer_list pointer to callbacks unconditionally

Now that all timer callbacks are already taking their struct timer_list
pointer as the callback argument, just do this unconditionally and remove
the .data field.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/timer.h
kernel/time/timer.c