Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1464046rwi; Wed, 26 Oct 2022 16:03:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6tspTY8N7oUoAbsQxVTYxktlUT3dzpNib4bQqoZ8D6dt3uXFXG/Z05z6zBKQNvLzHbZ9g+ X-Received: by 2002:a17:902:d38d:b0:186:9fc5:6c13 with SMTP id e13-20020a170902d38d00b001869fc56c13mr20094301pld.73.1666825395693; Wed, 26 Oct 2022 16:03:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666825395; cv=none; d=google.com; s=arc-20160816; b=z3KLXPF1vWqvPtprsF7Hi0W/gyv11/MHvIh5ubLcUQKvwcZUt3a/Czc4S70xVIQbdo qxbfyjwP3xvw6RvH3vXWW2GZybkUzJPjGoYjc0dFgub44ou2LqMlvccgrc9scpAE7RdD qKttkRHivr1vZzLtHaB1UcL2GTUzTkyCwNZbQmx6A4yiIzPSD8K9DJecNoiD8AHv34zN 9B4OeLXmm7YDtGUjapbIRandTjTjUGE8z56TloaON3VaZJuG3FrvRAONq4sJjNxL+7xE ATJnfpxiRbhlgmia9Bh+gORiJxwwoybgrmyg9fCYVxVdO4pQb3g6LRJ78TFF4aKsgGIZ rDbw== 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=Bikv0hNYsb9R/Bg3nr4drgyOc1XbrOcYSPtqCvLzaqM=; b=CBGHJSA2yasWhHba39UGp9OgbisUlL3Coj+i81a2/mfAdiv4NuVnBz9SOOHsJw2ObX o70mJIfBC2FwGUbqSJQkyfrJJTsbWozxsb+ffCBH5sa87APbPEtQlVbY29e4avu3dU4p lS5c2upqNg2X16QNCEuVF05kECkcJ4LyJp9yaWeK8mw/PmYbVO/nnJix3ahcfrEnzjOp 3qPyR2xirz9oQwAAxqe2AaOdwtGCwdZv9pSGyMue1RNVoPPucNdfvNOKZ5jlv18sbGNh WjcuT1c8ooBjA7lpm8za+DPc8DbkvtI0XWPxe5EbITZCiSjx2ENBqWQdommSOPgFia+1 jfBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ALm56epc; 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 l184-20020a6388c1000000b00434bfa4c2d7si7980329pgd.317.2022.10.26.16.03.02; Wed, 26 Oct 2022 16:03: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=ALm56epc; 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 S234147AbiJZXAw (ORCPT + 99 others); Wed, 26 Oct 2022 19:00:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234035AbiJZXAE (ORCPT ); Wed, 26 Oct 2022 19:00:04 -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 0B0F32A41A for ; Wed, 26 Oct 2022 15:59:58 -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 25B4B620ED for ; Wed, 26 Oct 2022 22:59:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92C01C433D6; Wed, 26 Oct 2022 22:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666825196; bh=QkoSP5dy50ivjFi2Kea4D2nh4Z8LDeoDCm4zKPAaAhQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ALm56epckyb/8rY95yBicPcsnjav4f+T26VCXKs6HLb5x+abgQaLlxHSCewgdBFgG DmBDFTQbQf9i1yAAJ3O91Qqkmtsg/8OSKXdGQKyKltSzOsnCpg8zxq6HlYfMG8dPgU ggiJ7kjnBJ2MbC3Ex0BlPUAk7UqDIdSEtzRR1mCHOclIQ6Qo6Q8pYa08iKBCWk8AIw 6XozkgTsCSvFP1spmNDTYeBgcoD1RYHGDW2RCX1rNsjrCq53tiZWQJt0Dntinf5tLC Cinn0dXhLsNZo5uRyLGqgMXi1vmyF5iD7a3R90G1EueEexUPmekq+yzDc8fxlHisa0 E3iIL0zsIovBg== From: SeongJae Park To: Andrew Morton Cc: damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH v2 12/12] mm/damon/{reclaim,lru_sort}: remove unnecessarily included headers Date: Wed, 26 Oct 2022 22:59:43 +0000 Message-Id: <20221026225943.100429-13-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221026225943.100429-1-sj@kernel.org> References: <20221026225943.100429-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 'reclaim.c' and 'lru_sort.c' are including are unnecessary now owing to previous cleanups and refactorings. Remove those. Signed-off-by: SeongJae Park Signed-off-by: Andrew Morton --- 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