# 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 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2017/10/5104450
- Thread: https://ratatoskr.run/linux-watchdog/2017/10/5101478/t.md

```text
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
```
