Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4332591rdb; Mon, 11 Dec 2023 16:38:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGj+cwrpHFwKA4tlmZo/pbVBHLLheUzpFKU+jPBibsj/nm651ri5rC3TzrBZE8LYFoGCSIU X-Received: by 2002:a05:6808:6541:b0:3ba:f08:6d23 with SMTP id fn1-20020a056808654100b003ba0f086d23mr2264287oib.41.1702341524959; Mon, 11 Dec 2023 16:38:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702341524; cv=none; d=google.com; s=arc-20160816; b=djNmRVCp3gxJfWswzpHLaviXSIxhkzNStKx4qqapkru6CuDrgzAdf1OMN4ORTbI7y1 vO8sNC9SchYu1UIwrw8RCZ/OOJ3spJJSfchdiWRVjgfqwhq73ZoGGrDsJYScqLP4MMMM 9OFboZzIUrFVOZwxqSjC4xZGuZ6ioZFrk2cbdkMeRc6MRDupQ/HsoOWdc+HuJvg8cJFN n+hOjL90BdpXdzqrIWilcVFrkWZspV2XsHUvmM7ZquL2vBufaeq+0mNnZqgaRhzHcTF7 lRPFJtk15b+JR6i7kxNGeXlx//vFNG2QU3K6RiDnpkgYLBiPhmqNm34M7O7ElsvMa2yk Ri0w== 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 :message-id:date:subject:cc:to:from; bh=cb9QI9T+C6Ply+3q5a9E1rA0gddwXGV6DGglA0RtiXE=; fh=vKK+dFUFvKhe+w+bJZsRE9tecrzMK874izVnJUxB7A4=; b=XnFDrtBQG1rbCrcn9GdmT538Je66ndfEKTsRxE1+xc5D40WMBZjkrjWHaVz9GOdR9C 1IjO6IcQrG5S44xPbo5xDUj6HDrdu28KHz/X5IuzXbAhiNlZbiuPjMXv5P9ahvXAKkUy sYqpcOw01Q6lgcDJb1/i5CILmHvkBIQl5qMXQD2jfPjpgUXIMJVtoMFiUKk952YOm2sf nMDOzoF1jPHcuoUNEVlmq1SiAzbUwKr26c2dWopICGqXgF94IcaZYlqGsaEDlyvPxKef 3vKiOFhg68jwWQSYeUPx/RkF1zqhX/K7COKJfPfr9qqFpJguWF0EiUhbh1XUcXO8LdUg GWxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id a25-20020a62e219000000b006ce6d0550c3si6592728pfi.395.2023.12.11.16.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 16:38:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 844FA809EE3E; Mon, 11 Dec 2023 16:38:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345477AbjLLAiY (ORCPT + 99 others); Mon, 11 Dec 2023 19:38:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345471AbjLLAiX (ORCPT ); Mon, 11 Dec 2023 19:38:23 -0500 Received: from out30-112.freemail.mail.aliyun.com (out30-112.freemail.mail.aliyun.com [115.124.30.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3624A2 for ; Mon, 11 Dec 2023 16:38:29 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VyKODcO_1702341506; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VyKODcO_1702341506) by smtp.aliyun-inc.com; Tue, 12 Dec 2023 08:38:27 +0800 From: Yang Li To: mingo@redhat.com, tglx@linutronix.de, x86@kernel.org Cc: hpa@zytor.com, kirill.shutemov@linux.intel.com, dave.hansen@linux.intel.com, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] x86/virt/tdx: Remove duplicated include in tdx.c Date: Tue, 12 Dec 2023 08:38:25 +0800 Message-Id: <20231212003825.70297-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 11 Dec 2023 16:38:42 -0800 (PST) The header files linux/acpi.h and asm/cpufeature.h are both included twice in C, so one inclusion of each can be removed. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7713 Signed-off-by: Yang Li --- arch/x86/virt/vmx/tdx/tdx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/virt/vmx/tdx/tdx.c b/arch/x86/virt/vmx/tdx/tdx.c index 13df68ef40b5..49a1c6890b55 100644 --- a/arch/x86/virt/vmx/tdx/tdx.c +++ b/arch/x86/virt/vmx/tdx/tdx.c @@ -27,14 +27,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include #include -- 2.20.1.7.g153144c