History

Merge branch 'linus' into sched/core, to pick up fixes

Ingo Molnar committed 8 years ago

Commit 10c18c42 parents 9e49e24 1b5f3ba321 files · +3301 −2492Browse files

Showing the changes to kernel/workqueue.c (1 of 321 files). Show all

Unified · Split

kernel/workqueue.c+1−9
@@ -3018,14 +3018,6 @@ static bool __cancel_work(struct work_struct *work, bool is_dwork) · 3017 unmodified lines
30183018 return ret;
30193019 }
30203020
3021−/*
3022− * See cancel_delayed_work()
3023− */
3024−bool cancel_work(struct work_struct *work)
3025−{
3026− return __cancel_work(work, false);
3027−}
3028−
30293021 /**
30303022 * cancel_delayed_work - cancel a delayed work
30313023 * @dwork: delayed_work to cancel
@@ -5337,7 +5329,7 @@ int workqueue_sysfs_register(struct workqueue_struct *wq) · 2305 unmodified lines
53375329
53385330 ret = device_register(&wq_dev->dev);
53395331 if (ret) {
5340− kfree(wq_dev);
5332+ put_device(&wq_dev->dev);
53415333 wq->wq_dev = NULL;
53425334 return ret;
53435335 }