From nobody Mon Feb 9 15:11: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 1652515687199949.8702567926003; Sat, 14 May 2022 01:08:07 -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-557-lM2ghoOXPme-7JYb66SEUg-1; Sat, 14 May 2022 04:08:01 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7A49785A5A8; Sat, 14 May 2022 08:07:59 +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 6654AC27E98; Sat, 14 May 2022 08:07:59 +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 2D55B194705A; Sat, 14 May 2022 08:07:59 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BD7161947058 for ; Sat, 14 May 2022 08:07:58 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id B24072027EB4; Sat, 14 May 2022 08:07:58 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ADE412026987 for ; Sat, 14 May 2022 08:07:58 +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 959C485A5A8 for ; Sat, 14 May 2022 08:07:58 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-176-V7Zer7ZeMXqQ8eM7M8pyPQ-1; Sat, 14 May 2022 04:07:56 -0400 Received: by mail-pl1-f176.google.com with SMTP id i17so9984865pla.10 for ; Sat, 14 May 2022 01:07:56 -0700 (PDT) Received: from localhost (23.105.194.122.16clouds.com. [23.105.194.122]) by smtp.gmail.com with ESMTPSA id a12-20020a170902710c00b0015f2b3bc97asm710203pll.13.2022.05.14.01.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 01:07:54 -0700 (PDT) X-MC-Unique: lM2ghoOXPme-7JYb66SEUg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: V7Zer7ZeMXqQ8eM7M8pyPQ-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=vXsYG/+G5ZFcIIy5GFiqGxup2llLZ8dFps70B6PqqjY=; b=NzuVcmyvqy8lmd6PLiqdGhdcctsocyP9l0zOO+cD1aYBz3dcylQNJ1Mk2Ag7vtk3JR UAiTsrA9pBsFALOz5SlH7AG7PAM5QdnW8uLfebp2TUgRCLZHU1JoOdvG5kwDOx26GZoh d9UsDoDkm92IE02RxhW9+58oqkFFAlnPKwDaHUlgPUoPX8OSF00hMU8nUYIfCuPtAioq WY45OIb+6xOzVY5tDjiJ0opPSz6yjND2O5xpOtswawmfFcVm3Hz1WvAlMPlxHLQx3z2t JvpB0UCyLGm6ToK+N2iQ/a+eor1HiGXim6c7HAIzhMKsdETw4/JnDZ9n/Zr3V/bVabl0 h86A== X-Gm-Message-State: AOAM531vaapa+hUIzqeKv5fXyvmDfmXGJGGDLePEI9zpZjhxLk9BRllf fprvaWhizAwb9Z1wg1JAcOk5wYbt43CeXA== X-Google-Smtp-Source: ABdhPJzinM8cdtViWQFxZ4m9UIMYhroKdSMWpr/AoLxHSdJ/aDWA/DVdpZJWMddNeTwFh9Ua19dbrg== X-Received: by 2002:a17:902:e94e:b0:15b:22a7:f593 with SMTP id b14-20020a170902e94e00b0015b22a7f593mr8016451pll.148.1652515675126; Sat, 14 May 2022 01:07:55 -0700 (PDT) From: Peng Liang To: libvir-list@redhat.com Subject: [PATCH v2 18/30] remote: Remove unused includes Date: Sat, 14 May 2022 16:05:27 +0800 Message-Id: <20220514080539.2371140-19-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.78 on 10.11.54.4 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.8 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: 1652515687726100003 Content-Type: text/plain; charset="utf-8"; x-default="true" 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 | 2 -- src/remote/remote_driver.h | 1 - 8 files changed, 15 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..becbfc6589 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,7 +42,6 @@ #include "qemu_protocol.h" #include "viralloc.h" #include "virfile.h" -#include "vircommand.h" #include "virtypedparam.h" #include "viruri.h" #include "virauth.h" 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