commit | 6201171e3b2c02992e62448636631a0dfe4e9d20 | [log] [tgz] |
---|---|---|
author | wanghaibin <wanghaibin.wang@huawei.com> | Thu Jan 07 20:38:59 2016 +0800 |
committer | Tejun Heo <tj@kernel.org> | Thu Jan 07 11:04:34 2016 -0500 |
tree | 4f930c7f753879548d0baf776f3439056ed0fc01 | |
parent | 82607adcf9cdf40fb7b5331269780c8f70ec6e35 [diff] |
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: wanghaibin <wanghaibin.wang@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>