From patchwork Mon Oct 24 20:49:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 10361 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp683973wru; Mon, 24 Oct 2022 15:36:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM57mQMRFhNA7uvOMJ6e0G0o0tPXQ7gQIl5t6YQZjWaQtkx6UeqBE9L8XDvIugqX01wbFgmq X-Received: by 2002:a05:6402:278d:b0:461:60d4:8ea4 with SMTP id b13-20020a056402278d00b0046160d48ea4mr15947445ede.419.1666650975684; Mon, 24 Oct 2022 15:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666650975; cv=none; d=google.com; s=arc-20160816; b=Lk//Tvf7hsCeYql+LDHU6w5wNwEHWO9l70OGl3hvy9kfxAYOdkY6RvP4sfb4lXM9Gm PSWrRXU+DC32cjnbvAjFPph668+0jhXJaxGXJDIzBB9TIAzMwomUHXQ+xUbI6STpDs/+ xiysYT8AKRpb7IrP2jTcbUlkNTuUICRx7Zj/Xk8WwvlWhGclO4Z+Ps1lvg46YgVs4mVO wnRVkv0vB3sJ8p6PQ+67JHjG2If8jnUEC3NFcxjAteA1LMHbn3VhtJR5XQ+YaBlDK3Dp 3dk7LBaCgjycJbcOIVmk2oTC/GeHq7DtPgj+7RHb21JmMr146nts2e/qz7FKmR5Q5FTL HgYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R4BxHqEmcuKW0c4tNNSt222xcKpiclvp60MW5YFbmHk=; b=xpnDBf+GnCnwVLqHc7J1I/VQTIDUAA9hE0/U8erVar4AVkOXsjcupT603sh+PBCK4v iYW/+hyFCT0Edtrrz6Jo8oMC9eMVvYIF+3pAjbrTcT8+YqFvKp9jNFsetxTFiHK1rVCE CiAHmhXLVX/B0+pTZJKG/c8BrMRu8AJaZz0/ekj0nTd4OTyU5GcrAtkpuqWk93i9vyR9 S9OucwK+zL88iiSgZFGeqN4Xz5IQ72rGulYFU95IvCPXMn8YqcRw9QfjnKX2B//guWM1 rp2kIsr3MioSGpuVjZN1Uh19MxwW855j7ovtYL3yketBgywFXcbHb61ZbtQCb9NkM05f yNhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J9cIXzhU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a170906708900b0078d8614e809si791247ejk.504.2022.10.24.15.35.51; Mon, 24 Oct 2022 15:36:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J9cIXzhU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231481AbiJXWaM (ORCPT + 99 others); Mon, 24 Oct 2022 18:30:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231953AbiJXW3V (ORCPT ); Mon, 24 Oct 2022 18:29:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27FB91DDC0E for ; Mon, 24 Oct 2022 13:51:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 96B76615C5 for ; Mon, 24 Oct 2022 20:49:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14B0FC433D7; Mon, 24 Oct 2022 20:49:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666644571; bh=ed3OO6jR2hviy6STfWb58XYnzMUxxyGe+e0xErjg1fk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J9cIXzhU9U1zWxdfPsC7S7cI+Ulc4SATnZVntGHQSe96wwChjQu3bcUIxth195MMp f4ukgLvBrlxZd/H8PRujs8KanGthShxmvvpLnHDKW1Lq299OzeaVMvog4X/ZgZdPDc gpM3BJ3Hn9RDw+azkUEHJHF155dHbvb5CGHOXw6Wpj2N2B1XvJx/RMFy6ILnUIFUIW PoUMZQoA9/tvPN6u7OKJusB50RP+v/mQIrqZw2hTUaX68Z3CYtid7Ykt9yjoi1Gflh D8BsHRcEsbV8Q8JtuFi3LFky/66KYi+CsQEkI+AyyL6UbExCY19nR679Fw2zEgoFJn 9ENAJnc8bWkRg== From: SeongJae Park To: SeongJae Park , Andrew Morton Cc: damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/11] mm/damon/{reclaim,lru_sort}: remove unnecessarily included headers Date: Mon, 24 Oct 2022 20:49:19 +0000 Message-Id: <20221024204919.18524-12-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221024204919.18524-1-sj@kernel.org> References: <20221024204919.18524-1-sj@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747610213146859621?= X-GMAIL-MSGID: =?utf-8?q?1747610213146859621?= Some headers that 'recalim.c' and 'lru_sort.c' are including are unnecessary now owing to previous cleanups and refactorings. Remove those. Signed-off-by: SeongJae Park --- mm/damon/lru_sort.c | 2 -- mm/damon/reclaim.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/mm/damon/lru_sort.c b/mm/damon/lru_sort.c index a1896c5acfe9..5c60163e556c 100644 --- a/mm/damon/lru_sort.c +++ b/mm/damon/lru_sort.c @@ -8,9 +8,7 @@ #define pr_fmt(fmt) "damon-lru-sort: " fmt #include -#include #include -#include #include #include "modules-common.h" diff --git a/mm/damon/reclaim.c b/mm/damon/reclaim.c index 3173f373435c..e14eb30c01f4 100644 --- a/mm/damon/reclaim.c +++ b/mm/damon/reclaim.c @@ -8,9 +8,7 @@ #define pr_fmt(fmt) "damon-reclaim: " fmt #include -#include #include -#include #include #include "modules-common.h"