[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230625035150.1140988-1-linmiaohe@huawei.com>
Date: Sun, 25 Jun 2023 11:51:50 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: <bsingharora@...il.com>
CC: <linux-kernel@...r.kernel.org>, <linmiaohe@...wei.com>
Subject: [PATCH] delayacct: Remove obsolete delayacct_is_task_waiting_on_io()
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@...wei.com>
---
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
Powered by blists - more mailing lists