Messages in this thread Patch in this message | | | From | Miaohe Lin <> | Subject | [PATCH] delayacct: Remove obsolete delayacct_is_task_waiting_on_io() | Date | Sun, 25 Jun 2023 11:51:50 +0800 |
| |
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@huawei.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
| |