]> git.baikalelectronics.ru Git - kernel.git/commit
s390/zcrypt: cleanup AP bus timer code
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 23 Jul 2015 08:55:59 +0000 (10:55 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:21 +0000 (14:32 +0200)
commita750835c72724ec43888676362b485bd160a43f4
tree2d823339ed54926413becf5dce4877318fa65d4e
parent9cfe78f7156aadef106c1eab764d9079af9ddb84
s390/zcrypt: cleanup AP bus timer code

Set the configuration timer at the end of the ap_scan_bus function.
Make use of setup_timer and remove some unnecessary add_timer, mod_timer
and del_timer_sync calls. Replace the complicated timer_pending, mod_timer
and add_timer code in ap_config_time_store with a simple mod_timer.

Reviewd-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c