From nobody Mon Feb 9 15:11:13 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 1652515683120176.9447054325559; Sat, 14 May 2022 01:08:03 -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-356-QKzjoQLjO-2JNPR_DN0r8A-1; Sat, 14 May 2022 04:07:47 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 96421382ECC3; Sat, 14 May 2022 08:07:45 +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 8228A1544F27; Sat, 14 May 2022 08:07:45 +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 5A75A194705C; Sat, 14 May 2022 08:07:45 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 085341947058 for ; Sat, 14 May 2022 08:07:45 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id DD5B9111F3DB; Sat, 14 May 2022 08:07:44 +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 D9039111F3D9 for ; Sat, 14 May 2022 08:07:44 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.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 C1A24811E75 for ; Sat, 14 May 2022 08:07:44 +0000 (UTC) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-437-zpob0RBOPpyBFRptOy4BQw-1; Sat, 14 May 2022 04:07:42 -0400 Received: by mail-pg1-f182.google.com with SMTP id h24so4219077pgh.12 for ; Sat, 14 May 2022 01:07:41 -0700 (PDT) Received: from localhost (23.105.194.122.16clouds.com. [23.105.194.122]) by smtp.gmail.com with ESMTPSA id v1-20020a056a00148100b0050dc76281b5sm3151965pfu.143.2022.05.14.01.07.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 01:07:40 -0700 (PDT) X-MC-Unique: QKzjoQLjO-2JNPR_DN0r8A-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: zpob0RBOPpyBFRptOy4BQw-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=jRodGybWlnIYRWm3l4sYSpeYzPdYfXNxygwDGMDFuUM=; b=S/gSBkXQ8W+8qnKdZ/rbb6q4b5ofiPVRziOoid68IYfi9rIdOxX3GsYbkNeVNi3z19 J+Vo/Fs5Wtp0Y47ugyc5y/jjr3yly09GfT3V/UvPqvlOjCzaW5R84TeZRfkSW69d3YKH w9+oagNpmJKdNSPyF57v6RpMCFgzJYh0JC4IvOOuuXzM7SDq/7VNt/WPZxOmkorAVgjd JIl1kNyT7fSi0YypT+oglzNkqB5Um8FTloiMMfEDcSXG7Co4qtuazTijGbVrm1aY1RSF YRJEY/oyy4KjsGXAhnKx5O5ZXAQiesBGdA9a62ZaXf6Re5iuaNvWFK4W2luKqdS0vRDc xVIw== X-Gm-Message-State: AOAM531KNjVniUApkZLg3EvFRUIBIC6ZBDhBJZbCMoYnfvbruZBmpyNx FOoT/u0pgjOyVJj5vWWzQWEwKf0Eiz0mEQ== X-Google-Smtp-Source: ABdhPJzyuPMoHs+tvnowjh4eoHGEuh9xW3iziEMATS5ohsm1FPP8mg3+7SpqWfn7rnlvyh5CQjvQBg== X-Received: by 2002:a63:2103:0:b0:3d5:dff1:30e1 with SMTP id h3-20020a632103000000b003d5dff130e1mr6838130pgh.376.1652515660726; Sat, 14 May 2022 01:07:40 -0700 (PDT) From: Peng Liang To: libvir-list@redhat.com Subject: [PATCH v2 14/30] node_device: Remove unused includes Date: Sat, 14 May 2022 16:05:23 +0800 Message-Id: <20220514080539.2371140-15-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.3 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.7 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: 1652515683684100003 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Peng Liang --- src/node_device/node_device_driver.c | 3 --- src/node_device/node_device_driver.h | 1 - src/node_device/node_device_udev.c | 3 --- 3 files changed, 7 deletions(-) diff --git a/src/node_device/node_device_driver.c b/src/node_device/node_de= vice_driver.c index 1eb452b989..8069f49cac 100644 --- a/src/node_device/node_device_driver.c +++ b/src/node_device/node_device_driver.c @@ -32,14 +32,11 @@ #include "viralloc.h" #include "virfile.h" #include "virjson.h" -#include "virstring.h" #include "node_device_conf.h" #include "node_device_event.h" #include "node_device_driver.h" -#include "node_device_util.h" #include "virvhba.h" #include "viraccessapicheck.h" -#include "virnetdev.h" #include "virutil.h" #include "vircommand.h" #include "virlog.h" diff --git a/src/node_device/node_device_driver.h b/src/node_device/node_de= vice_driver.h index 7311b603ac..e64145afeb 100644 --- a/src/node_device/node_device_driver.h +++ b/src/node_device/node_device_driver.h @@ -21,7 +21,6 @@ =20 #pragma once =20 -#include "internal.h" #include "driver.h" #include "virnodedeviceobj.h" #include "vircommand.h" diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_devi= ce_udev.c index b68dc12158..61c0986cf0 100644 --- a/src/node_device/node_device_udev.c +++ b/src/node_device/node_device_udev.c @@ -30,11 +30,9 @@ #include "node_device_udev.h" #include "virerror.h" #include "driver.h" -#include "datatypes.h" #include "virlog.h" #include "viralloc.h" #include "viruuid.h" -#include "virbuffer.h" #include "virfile.h" #include "virpci.h" #include "virpidfile.h" @@ -42,7 +40,6 @@ #include "virnetdev.h" #include "virmdev.h" #include "virutil.h" -#include "virpcivpd.h" =20 #include "configmake.h" =20 --=20 2.36.1