Re: [PATCH 09/13] timer: Remove users of expire and data arguments to DEFINE_TIMER

From
Ralf Baechle <hidden>
Date
2017-10-09 13:23:43
Also in
linux-mips, linux-pm, linux-s390, linux-scsi, linux-watchdog, linux-wireless, lkml, netdev
Reply to
Kees Cook, 2017-10-04
On Wed, Oct 04, 2017 at 04:27:03PM -0700, Kees Cook wrote:
Subject: [PATCH 09/13] timer: Remove users of expire and data arguments to
 DEFINE_TIMER

The expire and data arguments of DEFINE_TIMER are only used in two places
and are ignored by the code (malta-display.c only uses mod_timer(),
never add_timer(), so the preset expires value is ignored). Set both
sets of arguments to zero.

Cc: Ralf Baechle <redacted>
Cc: Wim Van Sebroeck <redacted>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: <redacted>
Cc: <redacted>
Signed-off-by: Kees Cook <redacted>
---
 arch/mips/mti-malta/malta-display.c | 6 +++---
 drivers/watchdog/alim7101_wdt.c     | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
For malta-display:

Acked-by: Ralf Baechle <redacted>

  Ralf
Thread (28 messages) 28 messages, 10 authors, last reply 2017-10-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help