summaryrefslogtreecommitdiffstats
path: root/kernel/watchdog.c
diff options
context:
space:
mode:
authorwanghaibin <wanghaibin.wang@huawei.com>2016-01-07 13:38:59 +0100
committerTejun Heo <tj@kernel.org>2016-01-07 17:04:34 +0100
commit6201171e3b2c02992e62448636631a0dfe4e9d20 (patch)
tree4f930c7f753879548d0baf776f3439056ed0fc01 /kernel/watchdog.c
parentworkqueue: implement lockup detector (diff)
downloadlinux-6201171e3b2c02992e62448636631a0dfe4e9d20.tar.xz
linux-6201171e3b2c02992e62448636631a0dfe4e9d20.zip
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>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions