cgroup, netclassid: remove double cond_resched
authorJiri Slaby <jslaby@suse.cz>
Mon, 20 Apr 2020 07:04:24 +0000 (09:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2020 08:31:32 +0000 (10:31 +0200)
commit88348bd1f696325b84dd090099e8ef60e50177d2
tree62ab46df218ec7ed19a720378e6074b80ac00f26
parent702d710ffd8300eed00cc3f16e3b30adfd1abd94
cgroup, netclassid: remove double cond_resched

commit 526f3d96b8f83b1b13d73bd0b5c79cc2c487ec8e upstream.

Commit 018d26fcd12a ("cgroup, netclassid: periodically release file_lock
on classid") added a second cond_resched to write_classid indirectly by
update_classid_task. Remove the one in write_classid.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Dmitry Yakunin <zeil@yandex-team.ru>
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/netclassid_cgroup.c