From nobody Tue Feb 10 06:06:14 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 165227740387032.96237269826099; Wed, 11 May 2022 06:56:43 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-299-N3htr-6FOv-VqJrCR9a81g-1; Wed, 11 May 2022 09:56:39 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 27AF89221CB; Wed, 11 May 2022 13:56:29 +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 14D6D4411C7; Wed, 11 May 2022 13:56:29 +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 E8D76193F6F3; Wed, 11 May 2022 13:56:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 18949194707B for ; Wed, 11 May 2022 13:56:28 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id F213914E09E6; Wed, 11 May 2022 13:56:27 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EE47A14E09E5 for ; Wed, 11 May 2022 13:56:27 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.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 3423519711DD for ; Wed, 11 May 2022 13:56:25 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-119-jCQnLGc1N_KMGcTFfxGygg-1; Wed, 11 May 2022 09:56:21 -0400 Received: by mail-pl1-f179.google.com with SMTP id d22so1947530plr.9 for ; Wed, 11 May 2022 06:56:20 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 06:56:19 -0700 (PDT) X-MC-Unique: N3htr-6FOv-VqJrCR9a81g-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: jCQnLGc1N_KMGcTFfxGygg-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=Wx6NqmSpGYOmknsq+4x6HwtYHTlgwjeFvygeMgqV0+A=; b=d7bEUfAqn0hWihnpsXJKVp8j6ynbnQxlZUyPoWc+VhMDHSAKnPnevDBdYFzbS9n2GD sNTtk8yJxtIUBKSid6tOL2DNnErjqmMhdEksPPHYHK3rj0dtOSERNJPt2LXsOEcD+hGQ CBS1oGBK4BOkgg75i40iU69j8Xd1A0YqRLLfEx4hNtEBuZFrBOqrqSC8+oU0LVoGKzlI TCT+j1xXhUjkwUtadHMSEU3eIbLOFg9JPM0WSEQnJC5Mgkk7oiKtKdT8Paof4c9AJC+L h4KsCs84OzXoOgvKQ50jTwptA8gfhvu/rqxnFjskckj5CUPWsRRQsG8PszWCeQd0mljK DfDw== X-Gm-Message-State: AOAM530b8v7mMoRf+EqVD/Ja32fPsB2LCcv8jrQ1JULBq64SuwrRiJoF 9aQULu4rAY+PrCWZqNjeEyOuTgbJ8TCV1wDM X-Google-Smtp-Source: ABdhPJyDqWdziktx5xF89gnVOABj/oaC1FK44VaSlGqRDlYQ6pnwPs0WJnkVeezOog6v7pgJfjpnZg== X-Received: by 2002:a17:902:6902:b0:15e:a439:82b6 with SMTP id j2-20020a170902690200b0015ea43982b6mr25444594plk.76.1652277379648; Wed, 11 May 2022 06:56:19 -0700 (PDT) From: Peng Liang To: libvir-list@redhat.com Subject: [PATCH 03/29] ch: Remove unused includes Date: Wed, 11 May 2022 21:55:04 +0800 Message-Id: <20220511135530.951850-4-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.85 on 10.11.54.7 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.85 on 10.11.54.9 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: 1652277409885100017 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Adam Tao Signed-off-by: Peng Liang --- src/ch/ch_conf.c | 1 - src/ch/ch_domain.c | 1 - src/ch/ch_driver.c | 7 ------- src/ch/ch_monitor.c | 2 -- src/ch/ch_process.c | 2 -- src/ch/ch_process.h | 1 - 6 files changed, 14 deletions(-) diff --git a/src/ch/ch_conf.c b/src/ch/ch_conf.c index bae245adf3..775596e9f5 100644 --- a/src/ch/ch_conf.c +++ b/src/ch/ch_conf.c @@ -21,7 +21,6 @@ #include =20 #include "configmake.h" -#include "viralloc.h" #include "vircommand.h" #include "virlog.h" #include "virobject.h" diff --git a/src/ch/ch_domain.c b/src/ch/ch_domain.c index bb489a74e3..08420fd5f5 100644 --- a/src/ch/ch_domain.c +++ b/src/ch/ch_domain.c @@ -22,7 +22,6 @@ =20 #include "ch_domain.h" #include "domain_driver.h" -#include "viralloc.h" #include "virchrdev.h" #include "virlog.h" #include "virtime.h" diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index d14899044e..e7c172c894 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -29,18 +29,11 @@ #include "datatypes.h" #include "driver.h" #include "viraccessapicheck.h" -#include "viralloc.h" -#include "virbuffer.h" #include "virchrdev.h" -#include "vircommand.h" #include "virerror.h" -#include "virfile.h" #include "virlog.h" -#include "virnetdevtap.h" #include "virobject.h" -#include "virstring.h" #include "virtypedparam.h" -#include "viruri.h" #include "virutil.h" #include "viruuid.h" #include "virnuma.h" diff --git a/src/ch/ch_monitor.c b/src/ch/ch_monitor.c index 2c6b83a1b5..fe3c1237c4 100644 --- a/src/ch/ch_monitor.c +++ b/src/ch/ch_monitor.c @@ -24,7 +24,6 @@ #include #include =20 -#include "ch_conf.h" #include "ch_monitor.h" #include "viralloc.h" #include "vircommand.h" @@ -33,7 +32,6 @@ #include "virjson.h" #include "virlog.h" #include "virstring.h" -#include "virtime.h" =20 #define VIR_FROM_THIS VIR_FROM_CH =20 diff --git a/src/ch/ch_process.c b/src/ch/ch_process.c index 977082d585..192a027b3e 100644 --- a/src/ch/ch_process.c +++ b/src/ch/ch_process.c @@ -27,8 +27,6 @@ #include "ch_monitor.h" #include "ch_process.h" #include "domain_cgroup.h" -#include "virnuma.h" -#include "viralloc.h" #include "virerror.h" #include "virjson.h" #include "virlog.h" diff --git a/src/ch/ch_process.h b/src/ch/ch_process.h index 800e3f4e23..6eccf5e608 100644 --- a/src/ch/ch_process.h +++ b/src/ch/ch_process.h @@ -21,7 +21,6 @@ #pragma once =20 #include "ch_conf.h" -#include "internal.h" =20 int virCHProcessStart(virCHDriver *driver, virDomainObj *vm, --=20 2.36.1