]> asedeno.scripts.mit.edu Git - linux.git/commit
timer: Remove meaningless .data/.function assignments
authorKees Cook <keescook@chromium.org>
Tue, 10 Oct 2017 00:10:32 +0000 (17:10 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 17 Oct 2017 15:37:36 +0000 (17:37 +0200)
commit3c557df67257c114401f18ee412f0b74091c3c6f
tree7822ebb9e209218df8221f58b60dc6f34232b556
parent4eb1bca1793385b8caff4b2e1f19b31a013dd1ec
timer: Remove meaningless .data/.function assignments

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.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> # for staging
Acked-by: Krzysztof Halasa <khc@pm.waw.pl> # for wan/hdlc*
Acked-by: Jens Axboe <axboe@kernel.dk> # for amiflop
Cc: devel@driverdev.osuosl.org
Cc: netdev@vger.kernel.org
Cc: linux-wireless@vger.kernel.org
Cc: Jens Axboe <axboe@fb.com>
Cc: Ganesh Krishna <ganesh.krishna@microchip.com>
Cc: Aditya Shankar <aditya.shankar@microchip.com>
Link: https://lkml.kernel.org/r/20171010001032.GA119829@beast
drivers/block/amiflop.c
drivers/net/wan/hdlc_cisco.c
drivers/net/wan/hdlc_fr.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c