>From 4906058b2573b7de9c220dd8566c20d0e78a7c4b Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 8 Jan 2021 09:23:16 -0700 Subject: [PATCH 4/4] task_work: kill enum task_work_notify_mode It's now unused, get rid of it. Signed-off-by: Jens Axboe --- 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