From patchwork Fri Jul 21 07:50:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Guo X-Patchwork-Id: 13321521 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 C7B57C001DE for ; Fri, 21 Jul 2023 07:50:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230088AbjGUHt7 (ORCPT ); Fri, 21 Jul 2023 03:49:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbjGUHt6 (ORCPT ); Fri, 21 Jul 2023 03:49:58 -0400 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D4B119AD; Fri, 21 Jul 2023 00:49:54 -0700 (PDT) X-UUID: ff14eda7f0934741a23db9006c625495-20230721 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.28,REQID:089c6898-c99c-4694-97ea-33c64382b269,IP:15, URL:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-INFO: VERSION:1.1.28,REQID:089c6898-c99c-4694-97ea-33c64382b269,IP:15,UR L:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:0 X-CID-META: VersionHash:176cd25,CLOUDID:2e61e187-44fb-401c-8de7-6a5572f1f5d5,B ulkID:2307211549211PU76SGO,BulkQuantity:1,Recheck:0,SF:38|24|17|19|44|102, TC:nil,Content:0,EDM:-3,IP:-2,URL:0,File:nil,Bulk:40,QS:nil,BEC:nil,COL:0, OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_FSI X-UUID: ff14eda7f0934741a23db9006c625495-20230721 X-User: guodongtai@kylinos.cn Received: from localhost.localdomain [(39.156.73.12)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 1614632383; Fri, 21 Jul 2023 15:49:40 +0800 From: George Guo To: masahiroy@kernel.org, nathan@kernel.org, martin.lau@linux.dev, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH] btf: Remove unnecessary header file inclusions Date: Fri, 21 Jul 2023 15:50:07 +0800 Message-Id: <20230721075007.4100863-1-guodongtai@kylinos.cn> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Remove unnecessary header file inclusions in btf.c Signed-off-by: George Guo --- kernel/bpf/btf.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index 817204d53372..e5ea729ba6b8 100644 --- a/kernel/bpf/btf.c +++ b/kernel/bpf/btf.c @@ -1,20 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018 Facebook */ -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include #include #include #include @@ -22,9 +9,6 @@ #include #include #include -#include -#include -#include #include