Skip to content
Commit 6201171e authored by wanghaibin's avatar wanghaibin Committed by Tejun Heo
Browse files

workqueue: simplify the apply_workqueue_attrs_locked()



If the apply_wqattrs_prepare() returns NULL, it has already cleaned up
the related resources, so it can return directly and avoid calling the
clean up function again.

This doesn't introduce any functional changes.

Signed-off-by: default avatarwanghaibin <wanghaibin.wang@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 82607adc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment