Re: [PATCH] timer: Remove meaningless .data/.function assignments

From: David Miller
Date: Mon Oct 09 2017 - 21:06:19 EST


From: Kees Cook <keescook@xxxxxxxxxxxx>
Date: Mon, 9 Oct 2017 17:10:32 -0700

> Several timer users needlessly reset their .function/.data fields during
> their timer callback, but nothing else changes them. Some users do not
> use their .data field at all. Each instance is removed here.
>
> Cc: Krzysztof Halasa <khc@xxxxxxxxx>
> Cc: Aditya Shankar <aditya.shankar@xxxxxxxxxxxxx>
> Cc: Ganesh Krishna <ganesh.krishna@xxxxxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Jens Axboe <axboe@xxxxxx>
> Cc: netdev@xxxxxxxxxxxxxxx
> Cc: linux-wireless@xxxxxxxxxxxxxxx
> Cc: devel@xxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> # for staging
> Acked-by: Krzysztof Halasa <khc@xxxxxxxxx> # for wan/hdlc*
> Acked-by: Jens Axboe <axboe@xxxxxxxxx> # for amiflop
> ---
> This should go via the timer/core tree, please. It's been acked by each
> of the maintainers. Thanks!

For networking bits:

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>