From nobody Sun Feb 8 12:19:55 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DDECC001B0 for ; Sun, 25 Jun 2023 03:52:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231539AbjFYDwg (ORCPT ); Sat, 24 Jun 2023 23:52:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbjFYDwf (ORCPT ); Sat, 24 Jun 2023 23:52:35 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8809A1B8 for ; Sat, 24 Jun 2023 20:52:33 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4QpcVp5TPpzqTv3 for ; Sun, 25 Jun 2023 11:52:18 +0800 (CST) Received: from huawei.com (10.175.104.170) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sun, 25 Jun 2023 11:52:31 +0800 From: Miaohe Lin To: CC: , Subject: [PATCH] delayacct: Remove obsolete delayacct_is_task_waiting_on_io() Date: Sun, 25 Jun 2023 11:51:50 +0800 Message-ID: <20230625035150.1140988-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.175.104.170] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 --- 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) --=20 2.27.0