Yu Liao 4f45c37ffd s390: cleanup timer API use
cleanup the s390's use of the timer API
- del_timer() contains timer_pending() condition
- mod_timer(timer, expires) is equivalent to:

	del_timer(timer);
	timer->expires = expires;
	add_timer(timer);

If the timer is inactive it will be activated, using add_timer() on
condition !timer_pending(&private->timer) is redundant.

Just cleanup, no logic change.

Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Link: https://lore.kernel.org/r/20220322030057.1243196-1-liaoyu15@huawei.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2022-03-27 22:18:39 +02:00
..
2021-06-07 17:07:01 +02:00
2021-06-28 11:18:28 +02:00
2022-03-27 22:18:39 +02:00
2021-09-07 13:38:42 +02:00
2022-03-27 22:18:39 +02:00
2018-04-10 07:38:59 +02:00
2018-02-05 07:34:52 +01:00
2021-07-21 11:53:42 +02:00
2021-06-07 17:07:01 +02:00