lkml.org 
[lkml]   [2023]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] delayacct: Remove obsolete delayacct_is_task_waiting_on_io()
Date
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
\
 
 \ /
  Last update: 2023-06-25 05:53    [W:0.021 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site