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.133.124 as permitted sender) client-ip=170.10.133.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.133.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.133.124]) by mx.zohomail.com with SMTPS id 1652277441357999.3988118400873; Wed, 11 May 2022 06:57:21 -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-608-_JDTwU-YM2qtID61tj3udQ-1; Wed, 11 May 2022 09:57:15 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D1F009221D1; Wed, 11 May 2022 13:57:11 +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 BAD1140D0165; Wed, 11 May 2022 13:57:11 +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 64C661956B85; Wed, 11 May 2022 13:57:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 314A51932200 for ; Wed, 11 May 2022 13:57:10 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 134B7463DF3; Wed, 11 May 2022 13:57:10 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F218A463DF0 for ; Wed, 11 May 2022 13:57:07 +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 587A0811E90 for ; Wed, 11 May 2022 13:57:07 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-369-x7skG4OKNqCRZToQJkkwRw-1; Wed, 11 May 2022 09:56:58 -0400 Received: by mail-pf1-f176.google.com with SMTP id 204so2072780pfx.3 for ; Wed, 11 May 2022 06:56:57 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 06:56:56 -0700 (PDT) X-MC-Unique: _JDTwU-YM2qtID61tj3udQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: x7skG4OKNqCRZToQJkkwRw-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=Zw8j3rMS+r17g5mn/H+H4pUUstdA9UvjqpY3YCjQ6ZI=; b=5EXNxrGVVFNf0mK0A647Pos6/A47VNVMwUXtethBBeRJ8GFAYMemBuxv9eXCQCSJG7 NHMmmTrE4i51m5bRcLbu2ytxYw14TaDncEWLb9j8K/yYOUVuVj83dqhTFflG+QqhFwNi VFzIAlL1Y3Kj2oVt08J2RLF1fZ4GBQFic8C2sZeNXzEFFSGOOTh3nN+r5h1HqFU3pAXq s7JhuNDYDNXYhFOh9+zy3adlXniuHkrLqxzsNaEGgWRYPtw1rP7ZZVBoJLm6TOPXKxFg zWIqu8c77oUYxPaK10FHylxx5T7Gru+ZzGFpBTkCStNLXF/3YuNjEmtoYsHCgmhyQ3XX ceVQ== X-Gm-Message-State: AOAM532wVKGYcUnkY1gomzVaR0V34EiK5fGaS46kxYqV9bHO75fvJiUA av5fzeUg+qAJ6RBXOOFkZqTREyFzD6IW0Bqn X-Google-Smtp-Source: ABdhPJxDddlOSeWIoMHsxg7glgQct9Dxurm4Llpoll0xlTS8Mu9VMorhFOeJqJkhsI2b8AjGkmxoqg== X-Received: by 2002:a05:6a00:1306:b0:512:ca3d:392f with SMTP id j6-20020a056a00130600b00512ca3d392fmr254225pfu.79.1652277416652; Wed, 11 May 2022 06:56:56 -0700 (PDT) From: Peng Liang To: libvir-list@redhat.com Subject: [PATCH 17/29] remote: Remove unused includes Date: Wed, 11 May 2022 21:55:18 +0800 Message-Id: <20220511135530.951850-18-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.10 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.1 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: 1652277443135100005 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Adam Tao Signed-off-by: Peng Liang --- src/remote/remote_daemon.c | 3 --- src/remote/remote_daemon.h | 1 - src/remote/remote_daemon_config.c | 1 - src/remote/remote_daemon_dispatch.c | 5 ----- src/remote/remote_daemon_dispatch.h | 1 - src/remote/remote_daemon_stream.c | 1 - src/remote/remote_driver.c | 3 --- src/remote/remote_driver.h | 1 - 8 files changed, 16 deletions(-) diff --git a/src/remote/remote_daemon.c b/src/remote/remote_daemon.c index 26469e0d9f..ca9d4fd4d1 100644 --- a/src/remote/remote_daemon.c +++ b/src/remote/remote_daemon.c @@ -32,7 +32,6 @@ #include "virfile.h" #include "virlog.h" #include "virpidfile.h" -#include "virprocess.h" =20 #define VIR_FROM_THIS VIR_FROM_QEMU =20 @@ -43,14 +42,12 @@ #include "viruuid.h" #include "remote_driver.h" #include "viralloc.h" -#include "virconf.h" #include "virnetlink.h" #include "virnetdaemon.h" #include "remote_daemon_dispatch.h" #include "virhook.h" #include "viraudit.h" #include "virstring.h" -#include "locking/lock_manager.h" #include "viraccessmanager.h" #include "virutil.h" #include "virgettext.h" diff --git a/src/remote/remote_daemon.h b/src/remote/remote_daemon.h index 1a69311029..7c3f50d9d4 100644 --- a/src/remote/remote_daemon.h +++ b/src/remote/remote_daemon.h @@ -25,7 +25,6 @@ =20 #include #include -#include "remote_protocol.h" #include "lxc_protocol.h" #include "qemu_protocol.h" #include "virthread.h" diff --git a/src/remote/remote_daemon_config.c b/src/remote/remote_daemon_c= onfig.c index 30653e82cf..330db54651 100644 --- a/src/remote/remote_daemon_config.c +++ b/src/remote/remote_daemon_config.c @@ -31,7 +31,6 @@ #include "remote_protocol.h" #include "remote_driver.h" #include "util/virnetdevopenvswitch.h" -#include "virstring.h" #include "virutil.h" =20 #define VIR_FROM_THIS VIR_FROM_CONF diff --git a/src/remote/remote_daemon_dispatch.c b/src/remote/remote_daemon= _dispatch.c index 2463386e39..305311c208 100644 --- a/src/remote/remote_daemon_dispatch.c +++ b/src/remote/remote_daemon_dispatch.c @@ -30,18 +30,13 @@ #include "viralloc.h" #include "virlog.h" #include "remote_daemon_stream.h" -#include "viruuid.h" -#include "vircommand.h" #include "virnetserverservice.h" #include "virnetserver.h" #include "virfile.h" #include "virtypedparam.h" -#include "virprocess.h" #include "remote_protocol.h" #include "qemu_protocol.h" #include "lxc_protocol.h" -#include "virstring.h" -#include "object_event.h" #include "domain_conf.h" #include "network_conf.h" #include "virprobe.h" diff --git a/src/remote/remote_daemon_dispatch.h b/src/remote/remote_daemon= _dispatch.h index 0d5f243203..e6cde23244 100644 --- a/src/remote/remote_daemon_dispatch.h +++ b/src/remote/remote_daemon_dispatch.h @@ -20,7 +20,6 @@ =20 #pragma once =20 -#include "remote_protocol.h" #include "rpc/virnetserverprogram.h" #include "rpc/virnetserverclient.h" =20 diff --git a/src/remote/remote_daemon_stream.c b/src/remote/remote_daemon_s= tream.c index a6d2c915e6..645be6eafd 100644 --- a/src/remote/remote_daemon_stream.c +++ b/src/remote/remote_daemon_stream.c @@ -22,7 +22,6 @@ #include =20 #include "remote_daemon_stream.h" -#include "remote_daemon_dispatch.h" #include "viralloc.h" #include "virlog.h" #include "virnetserverclient.h" diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 423f5f9fb9..85bda3b785 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -35,7 +35,6 @@ #include "node_device_event.h" #include "secret_event.h" #include "driver.h" -#include "virbuffer.h" #include "remote_driver.h" #include "remote_protocol.h" #include "remote_sockets.h" @@ -43,13 +42,11 @@ #include "qemu_protocol.h" #include "viralloc.h" #include "virfile.h" -#include "vircommand.h" #include "virtypedparam.h" #include "viruri.h" #include "virauth.h" #include "virauthconfig.h" #include "virstring.h" -#include "virutil.h" =20 #define VIR_FROM_THIS VIR_FROM_REMOTE =20 diff --git a/src/remote/remote_driver.h b/src/remote/remote_driver.h index 5e9b04da63..68cac1c244 100644 --- a/src/remote/remote_driver.h +++ b/src/remote/remote_driver.h @@ -21,7 +21,6 @@ =20 #pragma once =20 -#include "internal.h" #include "configmake.h" =20 int remoteRegister (void); --=20 2.36.1