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)
commitfcd0d1f637e57777fdc742adee6bfbcab5876295
tree2d823339ed54926413becf5dce4877318fa65d4e
parent83e9d5d2d45e518deb8cb843bd2e41548c6bb9b2
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
This page took 0.024082 seconds and 5 git commands to generate.