diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2026-07-31 18:50:04 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-08-05 15:16:54 +0200 |
| commit | 5ddf6f12dc8d0535382f854012b2bf83448f4021 (patch) | |
| tree | bb0db55dc86ee6b296db890c3eb4da40343dbc7d /drivers/s390 | |
| parent | de8ca0119a3c02b372be8425e29a7a9d947f749c (diff) | |
| download | linux-next-5ddf6f12dc8d0535382f854012b2bf83448f4021.tar.gz linux-next-5ddf6f12dc8d0535382f854012b2bf83448f4021.zip | |
s390/cio: Remove cond_resched() calls
Since [1] cond_resched() is a no-op on s390. Remove all calls.
[1] commit 7dadeaa6e851 ("sched: Further restrict the preemption modes")
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390')
| -rw-r--r-- | drivers/s390/cio/css.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index e5a0ec6b4e3e..54b8b8639694 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c @@ -618,11 +618,6 @@ static int slow_eval_known_fn(struct subchannel *sch, void *data) rc = css_evaluate_known_subchannel(sch, 1); if (rc == -EAGAIN) css_schedule_eval(sch->schid); - /* - * The loop might take long time for platforms with lots of - * known devices. Allow scheduling here. - */ - cond_resched(); } return 0; } @@ -654,9 +649,6 @@ static int slow_eval_unknown_fn(struct subchannel_id schid, void *data) default: rc = 0; } - /* Allow scheduling here since the containing loop might - * take a while. */ - cond_resched(); } return rc; } |
