Searched hist:"4 f45c37ffd100522f890fc7f8bd71a3b8f79b6be" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/s390/char/ |
H A D | sclp_con.c | diff 4f45c37ffd100522f890fc7f8bd71a3b8f79b6be Mon Mar 21 22:00:57 CDT 2022 Yu Liao <liaoyu15@huawei.com> 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>
|
H A D | sclp_vt220.c | diff 4f45c37ffd100522f890fc7f8bd71a3b8f79b6be Mon Mar 21 22:00:57 CDT 2022 Yu Liao <liaoyu15@huawei.com> 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>
|
H A D | sclp.c | diff 4f45c37ffd100522f890fc7f8bd71a3b8f79b6be Mon Mar 21 22:00:57 CDT 2022 Yu Liao <liaoyu15@huawei.com> 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>
|
/openbmc/linux/drivers/s390/cio/ |
H A D | eadm_sch.c | diff 4f45c37ffd100522f890fc7f8bd71a3b8f79b6be Mon Mar 21 22:00:57 CDT 2022 Yu Liao <liaoyu15@huawei.com> 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>
|
H A D | device_fsm.c | diff 4f45c37ffd100522f890fc7f8bd71a3b8f79b6be Mon Mar 21 22:00:57 CDT 2022 Yu Liao <liaoyu15@huawei.com> 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>
|