]> git.ipfire.org Git - thirdparty/linux.git/commit
vdo: omit need_resched() before cond_resched()
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 14 Jul 2025 16:27:46 +0000 (18:27 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Thu, 31 Jul 2025 13:39:55 +0000 (15:39 +0200)
commit225b2cb640d7ddbb2df38130f3f34f4a84497426
tree96aa512621e5ff69da33335f725d4f8e95c0e522
parent487767bff572d46f7c37ad846c4078f6d6c9cc55
vdo: omit need_resched() before cond_resched()

There's no need to call need_resched() because cond_resched() will do
nothing if need_resched() returns false.

Reviewed-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-vdo/funnel-workqueue.c