From nobody Mon Feb 9 19:00:01 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1652277401348474.0951537696849; Wed, 11 May 2022 06:56:41 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-439-TDku7zNONj2OVCscv_UlGg-1; Wed, 11 May 2022 09:56:38 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 433413C1172C; Wed, 11 May 2022 13:56:33 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2E61B400E122; Wed, 11 May 2022 13:56:33 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 08B39193F6F3; Wed, 11 May 2022 13:56:33 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BF4E8194707B for ; Wed, 11 May 2022 13:56:32 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 87BDE40CF8EE; Wed, 11 May 2022 13:56:32 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8397E40CF8EB for ; Wed, 11 May 2022 13:56:32 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 00883805F46 for ; Wed, 11 May 2022 13:56:31 +0000 (UTC) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-631-Xd_rLGYYPJ65kjPvAtOvNg-1; Wed, 11 May 2022 09:56:26 -0400 Received: by mail-pf1-f169.google.com with SMTP id g8so2065629pfh.5 for ; Wed, 11 May 2022 06:56:26 -0700 (PDT) Received: from localhost.lan ([112.10.225.220]) by smtp.gmail.com with ESMTPSA id pc11-20020a17090b3b8b00b001dc4d22c0a7sm1919817pjb.10.2022.05.11.06.56.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 06:56:24 -0700 (PDT) X-MC-Unique: TDku7zNONj2OVCscv_UlGg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: Xd_rLGYYPJ65kjPvAtOvNg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GH84zSWqgk5m5/mBUu6eT59UPfP8v5AN2u1S6FD5ZOQ=; b=p55oa47KSC0NQmbI4/gsH9A1SUFz7Mb5MCFLkPSuTkK82GCc1jdjlWlZvkyN5PakJT EGpJbOhSRAAa4whEbE1mreuc0iqSF/KKAs9+KfLhxVhmS/nQtlaUq7Uw+SYRmGUH5vD/ EZv34C45dq0CTVOQ+E2mokAaq8Y7hL5KA4QF6U7dOpJ5aFG+RsLJiEtY6YOyFXQptGAX 6qXuYtxh57hKtqu3IXTfXS+igXOilKpR3WUI++GUkECDFs1j3s32geWBILiom8chGC8z W1VuAyl6p4MG0RSjonwXcywqX8aju13y0IMCLVppIOolZHozi5rCgAG2u7RhPT7689KU 0CLA== X-Gm-Message-State: AOAM5311fDDYl6zeg3jw91a+DBMMcVGawb7K4F8hhxN/JqkO4ti5/gpb AW7M/GCXplREadbKNAsDNSfpEEUmTOPRarG9 X-Google-Smtp-Source: ABdhPJwiqFqu7pJHq/THo+V7/za9tCQUXe9yR0tID0LCseHSdgAIa0MdNGzNiG9yJIhgavqaW1KkXA== X-Received: by 2002:a62:830e:0:b0:510:8508:2b5f with SMTP id h14-20020a62830e000000b0051085082b5fmr23153331pfe.44.1652277384914; Wed, 11 May 2022 06:56:24 -0700 (PDT) From: Peng Liang To: libvir-list@redhat.com Subject: [PATCH 05/29] cpu: Remove unused includes Date: Wed, 11 May 2022 21:55:06 +0800 Message-Id: <20220511135530.951850-6-tcx4c70@gmail.com> In-Reply-To: <20220511135530.951850-1-tcx4c70@gmail.com> References: <20220511135530.951850-1-tcx4c70@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Tao Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1652277407903100013 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Adam Tao Signed-off-by: Peng Liang --- src/cpu/cpu.c | 3 --- src/cpu/cpu.h | 1 - src/cpu/cpu_arm.c | 1 - src/cpu/cpu_map.c | 2 -- src/cpu/cpu_ppc64.c | 1 - src/cpu/cpu_s390.c | 2 -- src/cpu/cpu_x86.c | 1 - 7 files changed, 11 deletions(-) diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c index 285c7eee44..d97ef5e873 100644 --- a/src/cpu/cpu.c +++ b/src/cpu/cpu.c @@ -21,16 +21,13 @@ #include =20 #include "virlog.h" -#include "viralloc.h" #include "virxml.h" #include "cpu.h" -#include "cpu_map.h" #include "cpu_x86.h" #include "cpu_ppc64.h" #include "cpu_s390.h" #include "cpu_arm.h" #include "capabilities.h" -#include "virstring.h" =20 =20 #define VIR_FROM_THIS VIR_FROM_CPU diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h index 071b33fe76..06b5858ef3 100644 --- a/src/cpu/cpu.h +++ b/src/cpu/cpu.h @@ -20,7 +20,6 @@ =20 #pragma once =20 -#include "virerror.h" #include "datatypes.h" #include "virarch.h" #include "domain_capabilities.h" diff --git a/src/cpu/cpu_arm.c b/src/cpu/cpu_arm.c index 51a3c1f3ee..599bb836ed 100644 --- a/src/cpu/cpu_arm.c +++ b/src/cpu/cpu_arm.c @@ -35,7 +35,6 @@ #include "cpu_arm.h" #include "cpu_map.h" #include "virlog.h" -#include "virstring.h" #include "virxml.h" =20 #define VIR_FROM_THIS VIR_FROM_CPU diff --git a/src/cpu/cpu_map.c b/src/cpu/cpu_map.c index 6baaa77776..1d8051a13b 100644 --- a/src/cpu/cpu_map.c +++ b/src/cpu/cpu_map.c @@ -20,12 +20,10 @@ =20 #include =20 -#include "viralloc.h" #include "virfile.h" #include "cpu.h" #include "cpu_map.h" #include "configmake.h" -#include "virstring.h" #include "virlog.h" =20 #define VIR_FROM_THIS VIR_FROM_CPU diff --git a/src/cpu/cpu_ppc64.c b/src/cpu/cpu_ppc64.c index 314d2f7c86..5ff076e337 100644 --- a/src/cpu/cpu_ppc64.c +++ b/src/cpu/cpu_ppc64.c @@ -26,7 +26,6 @@ #include "cpu.h" #include "virstring.h" #include "cpu_map.h" -#include "virbuffer.h" =20 #define VIR_FROM_THIS VIR_FROM_CPU =20 diff --git a/src/cpu/cpu_s390.c b/src/cpu/cpu_s390.c index 8fda4a49a6..d908a83928 100644 --- a/src/cpu/cpu_s390.c +++ b/src/cpu/cpu_s390.c @@ -21,8 +21,6 @@ =20 #include =20 -#include "viralloc.h" -#include "virstring.h" #include "cpu.h" =20 =20 diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c index a4aca6055d..695d095baa 100644 --- a/src/cpu/cpu_x86.c +++ b/src/cpu/cpu_x86.c @@ -31,7 +31,6 @@ #include "cpu_x86.h" #include "virbuffer.h" #include "virendian.h" -#include "virstring.h" #include "virhostcpu.h" =20 #define VIR_FROM_THIS VIR_FROM_CPU --=20 2.36.1