[PATCH] delayacct: Remove obsolete delayacct_is_task_waiting_on_io()

From: Miaohe Lin
Date: Sat Jun 24 2023 - 23:52:39 EST


There's on caller left since commit a3d5dc908a5f ("delayacct: support
swapin delay accounting for swapping without blkio"). So remove it.

Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
---
include/linux/delayacct.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/delayacct.h b/include/linux/delayacct.h
index 6639f48dac36..422ba4e66f65 100644
--- a/include/linux/delayacct.h
+++ b/include/linux/delayacct.h
@@ -244,8 +244,6 @@ static inline int delayacct_add_tsk(struct taskstats *d,
{ return 0; }
static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk)
{ return 0; }
-static inline int delayacct_is_task_waiting_on_io(struct task_struct *p)
-{ return 0; }
static inline void delayacct_freepages_start(void)
{}
static inline void delayacct_freepages_end(void)
--
2.27.0