From nobody Mon Feb 9 23:39:11 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 1652515642858557.78378236883; Sat, 14 May 2022 01:07:22 -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-567-JXTf3aDAO1emm6WJmGNfhA-1; Sat, 14 May 2022 04:07:17 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A89C61C05152; Sat, 14 May 2022 08:07:15 +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 7017441636E; Sat, 14 May 2022 08:07:15 +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 2BC30194705A; Sat, 14 May 2022 08:07:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5AFE21947058 for ; Sat, 14 May 2022 08:07:14 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 2F3985521E5; Sat, 14 May 2022 08:07:14 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A8895521CA for ; Sat, 14 May 2022 08:07:14 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (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 121143802B84 for ; Sat, 14 May 2022 08:07:14 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-62-_7HFcwDKO9qGtA-FoUdUkA-1; Sat, 14 May 2022 04:07:12 -0400 Received: by mail-pf1-f173.google.com with SMTP id c14so9648635pfn.2 for ; Sat, 14 May 2022 01:07:11 -0700 (PDT) Received: from localhost (23.105.194.122.16clouds.com. [23.105.194.122]) by smtp.gmail.com with ESMTPSA id w2-20020a62c702000000b0050dc762815fsm3017807pfg.57.2022.05.14.01.07.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 01:07:10 -0700 (PDT) X-MC-Unique: JXTf3aDAO1emm6WJmGNfhA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: _7HFcwDKO9qGtA-FoUdUkA-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=djCvZ1vjtj1LxG+YLypvY1AtcPurOZuUqxdo31KSwBw=; b=ndlf73BXfXiKoKWQ8XHIMdk2amGzQ17QxmpAQlU9Q52qQO6C6PyyUvQiwwodCkCGqd LWZHFK4K7Ti+0Hzj9E/dSebOjogB+W9Pf2QKKpJhrAdQWeGHPB+0xgUoVuAvtTO3FJWM aZfmJ8ibNTLGIMXzWXevp5/HJ7jUJd0J4z5ueq4SyLT5py3VrChSMVN+scWMR2tbT9Vg wXp1YP4PUYjDUxYmwzTm1gx+3Tp4vkRMscwEQbHtURJzXYsu7yV+55MD/2OUfVrh9yvx idhjDANKk+XftZQHbJ6gvfWT0vhjzWXzQfOpfsXBk45tOJXREGvU9zEZGOLObiLmW++4 p1KA== X-Gm-Message-State: AOAM530EjL13v7ZcQM3VvkXeQSiQwWTjDdi9JMF5rfi73Q6eRvdmjCZ5 kbjrwsOSPwj2/Vahb4jrt7+5LQS6K1S1/A== X-Google-Smtp-Source: ABdhPJzEfmxwlZdlwJkotRSdxkI5RcbzMUEwhUtfypiCxGl71hG45F5on7DgweRCKKsBMB2DaMlPOA== X-Received: by 2002:a63:87c1:0:b0:3c6:a988:61de with SMTP id i184-20020a6387c1000000b003c6a98861demr7033364pge.412.1652515630807; Sat, 14 May 2022 01:07:10 -0700 (PDT) From: Peng Liang To: libvir-list@redhat.com Subject: [PATCH v2 05/30] cpu: Remove unused includes Date: Sat, 14 May 2022 16:05:14 +0800 Message-Id: <20220514080539.2371140-6-tcx4c70@gmail.com> In-Reply-To: <20220514080539.2371140-1-tcx4c70@gmail.com> References: <20220514080539.2371140-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.85 on 10.11.54.9 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: Peng Liang Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 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: 1652515643528100001 Content-Type: text/plain; charset="utf-8"; x-default="true" 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