From mboxrd@z Thu Jan 1 00:00:00 1970 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 2069AC77B7A for ; Tue, 30 May 2023 22:13:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233658AbjE3WNL (ORCPT ); Tue, 30 May 2023 18:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233631AbjE3WNJ (ORCPT ); Tue, 30 May 2023 18:13:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9284EE5 for ; Tue, 30 May 2023 15:13:08 -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 2DBD162C1D for ; Tue, 30 May 2023 22:13:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72B27C433D2; Tue, 30 May 2023 22:13:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1685484787; bh=y0tk1LhfJUoWojH29xQgBQAHyyiXOdXW+PIeggjfJ4M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GMqZ3gNKQSHgrxIW3VQKnJ3POD/m4f3LfkDLMUO9uTzwJ4TFhEJJnDfXfootzO017 PmgfE18SeCrd+MYkrstOTSn1rsgn/s6pf+LFlnoj3xWdvKFFDtmfjBN3T+SjWdns/W nA8n1goiD5ektUFw7ElFB9J6q0dow8tBCGBAxK1w= Date: Tue, 30 May 2023 15:13:06 -0700 From: Andrew Morton To: Miaohe Lin Cc: , Subject: Re: [PATCH] mm: page_alloc: remove unneeded header files Message-Id: <20230530151306.b9f24b247c66ea7f80df6be8@linux-foundation.org> In-Reply-To: <20230527100728.267992-1-linmiaohe@huawei.com> References: <20230527100728.267992-1-linmiaohe@huawei.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 27 May 2023 18:07:28 +0800 Miaohe Lin wrote: > Remove some unneeded header files. No functional change intended. > > Signed-off-by: Miaohe Lin > --- > mm/page_alloc.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index e671c747892f..beb6db613238 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -24,9 +24,7 @@ > #include > #include > #include > -#include This contains the prototype for print_modules(). So we're now reliant upon module.h being included via some other header, which is fragile. > #include > -#include > #include > #include > #include > @@ -36,8 +34,6 @@ > #include > #include > #include > -#include > -#include > #include > #include > #include > @@ -52,11 +48,9 @@ > #include > #include > #include > -#include > #include > #include > #include > -#include Needed for do_div()? > #include "internal.h" > #include "shuffle.h" > #include "page_reporting.h" > -- > 2.27.0