Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7488049rwi; Mon, 24 Oct 2022 15:38:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6sBH99OweGY5YCyRrVXVCJb6V//QdVFqgcLM126DGedft5wwTkUfTBQbn0kR/Lmm11ZRoe X-Received: by 2002:a17:907:3e87:b0:78d:bb06:9066 with SMTP id hs7-20020a1709073e8700b0078dbb069066mr29669771ejc.387.1666651027006; Mon, 24 Oct 2022 15:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666651026; cv=none; d=google.com; s=arc-20160816; b=Jmtd0xH/cQ2gLS/ppseXQNteFucUwrquo0e4AkfgYC3ZrYxpvqzydI4yBfp1IIYdOt udoOVDxMWKegRAGebGttYA9l/12/DJohrh6NIpa6esrF1vXss0h2VCmSLL5KQte9Bs9D YlkwilrxG0UMHFyaWI5IYknLpPy6YxqqhBV7pVbwQvVk2QjlXM9VQkW2hJZ6KbsIDlIK IXr2854wdX1L5lt7sInndB80kO89pmGRfMczzmYWjR5XIS0078hFoOIDt4c3GWZgl034 q9HfSbavaUU3G+D0Taml3rLkb92I/AVoHQlQytpHG41jIYhs70bgyhk+1DBeKzeq9oBD yUJw== 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 Return-Path: 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.36.40; Mon, 24 Oct 2022 15:37:06 -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 Content-Transfer-Encoding: 8bit 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 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" -- 2.25.1