[PATCH 4/4] task_work: kill enum task_work_notify_mode

From: Jens Axboe
Date: Fri Jan 08 2021 - 11:23:16 EST


It's now unused, get rid of it.

Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
---
include/linux/task_work.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/include/linux/task_work.h b/include/linux/task_work.h
index 8df8d539fad8..7b987260f4d7 100644
--- a/include/linux/task_work.h
+++ b/include/linux/task_work.h
@@ -13,12 +13,6 @@ init_task_work(struct callback_head *twork, task_work_func_t func)
twork->func = func;
}

-enum task_work_notify_mode {
- TWA_NONE,
- TWA_RESUME,
- TWA_SIGNAL,
-};
-
int task_work_add(struct task_struct *task, struct callback_head *twork,
bool notify);

--
2.30.0


--------------DB179B50B84C45A6F2CE09AA--