From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937293; cv=none; d=zohomail.com; s=zohoarc; b=f/A1nH41yiDLMmSkGXflGrjw5VCsseIw6+9B3JbnM1pLp7Q3Sov4x45S/MC1WaKKzPN9tO5riTLOJCjW8rqXDOXClRxP+2kKtyEY6DoNqFknCd6TGVRlZHi3tJr8lYnfKaUa+/hUgKLcKWNrv3xQjc7dLhwX0ni+VmNrUp0uANA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937293; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qkMsBTWKnVycDAEStKoPExFT5nO/xBdiWhoqqkyIBDI=; b=fKGGl24p/EB9dgLX30rn7gm/6i8VeDtNYd/TnMvbT3u0qH8BsW5L2TxX3OM1vfWbm6eNR1/ufApjr5QKUuEwX2dfwKWAUsFFkgsyw/BbbUVnz6qzAJSshESunJRklFUuV568eOH02iLvbWwHFuf0Ewkkct0cIBIyWqjvTkpZebo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1595937293937230.55439848356946; Tue, 28 Jul 2020 04:54:53 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-106-pg5B2R51NCGRL2j3z5wCIA-1; Tue, 28 Jul 2020 07:54:50 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A0332101C8A5; Tue, 28 Jul 2020 11:54:43 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 25F54709E4; Tue, 28 Jul 2020 11:54:43 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 1247A95499; Tue, 28 Jul 2020 11:54:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBsb0C022603 for ; Tue, 28 Jul 2020 07:54:37 -0400 Received: by smtp.corp.redhat.com (Postfix) id D744B726BA; Tue, 28 Jul 2020 11:54:37 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3331B73027 for ; Tue, 28 Jul 2020 11:54:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937292; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=qkMsBTWKnVycDAEStKoPExFT5nO/xBdiWhoqqkyIBDI=; b=Nj9GbXSz8wjkm/fFE/yrjehn96Nt3mTu0gbuMfnMdAfYtO0ZIp//nOH5zE0h5D65zhvqPt CalHyIpoA+Ow7IFbgk0y3X8lCUaH0lfckTfEmDWmONJykDGBExYvSQU1mhRYElvGvKxIPD jM5uFmYEcg6VJnSX3oEPHmKTjusx43E= X-MC-Unique: pg5B2R51NCGRL2j3z5wCIA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/9] locking: sanlock: drop unused LOCKSPACE_SLEEP Date: Tue, 28 Jul 2020 13:54:20 +0200 Message-Id: <5942beecb6918167bbb56e0a2eb931160830c529.1595937055.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) After dropping support for sanlock < 2.4, this constant is no longer used. Signed-off-by: J=C3=A1n Tomko Fixes: c4951694786ecd45424769979762c17e4c8e56d0 Reviewed-by: Jonathon Jongsma --- src/locking/lock_driver_sanlock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sa= nlock.c index f414e3ec07..d4816030cf 100644 --- a/src/locking/lock_driver_sanlock.c +++ b/src/locking/lock_driver_sanlock.c @@ -185,8 +185,6 @@ virLockManagerSanlockInitLockspace(virLockManagerSanloc= kDriverPtr driver, return ret; } =20 -/* How much ms sleep before retrying to add a lockspace? */ -#define LOCKSPACE_SLEEP 100 /* How many times try adding a lockspace? */ #define LOCKSPACE_RETRIES 10 =20 --=20 2.26.2 From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937300; cv=none; d=zohomail.com; s=zohoarc; b=Cg8dTllv5X9tK728XNTAx0piryPoEPWOEOzrbanOQJWWzphPd/eckb2edQjllMb8IzexIq3eO06X7K2cJCxJuQ6pl0MKxqMyKtT4REao4pdYKXnyuDB3kEkdZ7DVhp9y/hl28+jpYkgXXSQcJLqV8wOf9e4jp7cTI0138EWm0xM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937300; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=etqe4CYg1LcKtzosXO+7xBjYMWYDSIQ6n3AfnOLFBuA=; b=ZDBo44SX2twVjPv+45FMcp6xEb6E6eAfncxZZcYf8Nx545xhUd4VFB9rxuGs+E6VGNbEyPWGiq2mzanZR3pd0OY151AZCgCfEOjHQNIIMWGQKMpFW2MPutGhbbioW8aaBHKcaK0ct0WCm+iQ3NpAYFyNH19HRTs2dSR3ZGUSbkg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1595937300685302.2867514928714; Tue, 28 Jul 2020 04:55:00 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-323-ZS5fI-JeP2GFvXhiCmni8g-1; Tue, 28 Jul 2020 07:54:57 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6A25110059B2; Tue, 28 Jul 2020 11:54:52 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4B8FC712FA; Tue, 28 Jul 2020 11:54:52 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 19010A35A8; Tue, 28 Jul 2020 11:54:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBsdUY022615 for ; Tue, 28 Jul 2020 07:54:39 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1B4D673039; Tue, 28 Jul 2020 11:54:39 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 614AF726BA for ; Tue, 28 Jul 2020 11:54:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937299; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=etqe4CYg1LcKtzosXO+7xBjYMWYDSIQ6n3AfnOLFBuA=; b=V5syhk8KMSJV94Uhm/NM//+FJQRCTIWPotR+kPlLkAwDPxFBhC2lnpq6GffVDxl3LW2DBb Voaj9yKU/iJKCvR+eQ3znIKDNnDWen4km+VfvxKClnBffIGXY5jLmAPkimPE3tM+fIhPtV LCTYWOd+FqnBl1/2lveB0wHsi8qNvhE= X-MC-Unique: ZS5fI-JeP2GFvXhiCmni8g-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/9] storage: logical: drop unused PV_BLANK_SECTOR_SIZE Date: Tue, 28 Jul 2020 13:54:21 +0200 Message-Id: <866643c139d39fef9c77661a4ba7617def0cd936.1595937055.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: J=C3=A1n Tomko Fixes: d942bf6e9e8e3991808ca5185098257e84acab5d Reviewed-by: Jonathon Jongsma --- src/storage/storage_backend_logical.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/storage/storage_backend_logical.c b/src/storage/storage_ba= ckend_logical.c index 60958d3d2c..43cf3a1598 100644 --- a/src/storage/storage_backend_logical.c +++ b/src/storage/storage_backend_logical.c @@ -40,8 +40,6 @@ =20 VIR_LOG_INIT("storage.storage_backend_logical"); =20 -#define PV_BLANK_SECTOR_SIZE 512 - =20 static int virStorageBackendLogicalSetActive(virStoragePoolObjPtr pool, --=20 2.26.2 From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937381; cv=none; d=zohomail.com; s=zohoarc; b=I481RCczPKX/GtZL4gOysSSCIvUIjKBHUfqZ+ESwgdi3IBDxavUZMJsdzUW229v7k2zJ37gkN4IhFwFbAryIjzU7itnabVsRkA7e6Vef0PsUoi2dvcYaSn+5RpqIKzN7qAwcvasaYXKxj3jM4ZokyqGbYN1YjVDErDajPhBev0Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937381; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=jLotSRdU0ggFdd7Nead2Fd7yVOXEBzSLRjGeudCUH68=; b=M5LGiZMrG2vM3DtYo3kF0YEU30mXSSrZAzivjk1beXv60zWDNQquaZH0Wyr2vPLPhq+Hb2cBF5FhhTj1m4ZYwjs/hMZYE46Kzno7VK4zxX4J90lq0TRJGd0FRNmHwpCVEEkON/09S2HZpeG00XqOJ8RzZ2mVfVWm2oigDsUMCZ0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 159593738122018.5440522812097; Tue, 28 Jul 2020 04:56:21 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-216-m-6dIwDBOuqefarb_F0ysw-1; Tue, 28 Jul 2020 07:56:15 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ADAD81009613; Tue, 28 Jul 2020 11:56:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9120C712F0; Tue, 28 Jul 2020 11:56:10 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5FABC95499; Tue, 28 Jul 2020 11:56:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBsivD022645 for ; Tue, 28 Jul 2020 07:54:44 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7586C726BE; Tue, 28 Jul 2020 11:54:44 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id DC86E726BA for ; Tue, 28 Jul 2020 11:54:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937380; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=jLotSRdU0ggFdd7Nead2Fd7yVOXEBzSLRjGeudCUH68=; b=XfvqbCb2Og/ySjYQPOOkLBBYbPXUo+cW1z2ok4d4Ml3PcjTRiDrac+LOBMp/Ny9gOQPbAs QPcz1xB+flyTv+VixV/tQkojqluJ1vplROG9y+4sNfEmt1oanKlD6KJOUGaN9Vkv+hQeKx uQ8tm5HKA0zSiY4YEO8n4uRdOqKyP4o= X-MC-Unique: m-6dIwDBOuqefarb_F0ysw-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 3/9] storage: scsi: remove unused LINUX_SYSFS_SCSI_HOST_POSTFIX Date: Tue, 28 Jul 2020 13:54:22 +0200 Message-Id: <8f51d4ed177b754bd5d10135ac08b052f969b514.1595937055.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Unused since its introduction. Signed-off-by: J=C3=A1n Tomko Fixes: 81d0ffbc3baee53467f664ea03b1349e8b6dba5a Reviewed-by: Jonathon Jongsma --- src/storage/storage_backend_scsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/storage/storage_backend_scsi.c b/src/storage/storage_backe= nd_scsi.c index 37ae4325ca..e528d7622c 100644 --- a/src/storage/storage_backend_scsi.c +++ b/src/storage/storage_backend_scsi.c @@ -41,7 +41,6 @@ VIR_LOG_INIT("storage.storage_backend_scsi"); =20 #define LINUX_SYSFS_SCSI_HOST_PREFIX "/sys/class/scsi_host" -#define LINUX_SYSFS_SCSI_HOST_POSTFIX "device" #define LINUX_SYSFS_SCSI_HOST_SCAN_STRING "- - -" =20 typedef struct _virStoragePoolFCRefreshInfo virStoragePoolFCRefreshInfo; --=20 2.26.2 From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937298; cv=none; d=zohomail.com; s=zohoarc; b=D9ESqbk9DHGSEWfDIM7elfvY9hrdD/6xS34bAxOK1XOPFDPe9swY2TGdKlU74MmitXN5pq1oq96JN//dNq8tEVyJtu0bjiWL6aB0dzqyq3p+xhZgvMTB3tj9klVsHOAxo9/kDoCeniK9HaY1bTFYJ+vXmsMkW1xZxj87pY6sgOs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937298; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=O0MWSN+BShjO1r9jZmoLHubev8wHR9YbuhiR0tKms5E=; b=jkNZHm+fuJSBCGJzYAoB5Q2VXQTYBm/nML3SkMPVnZTVNQ1yNER7aFZOXNPCsLc/KfxJp6oBDZP/kVsY9ARDG+jvc1Tv3mHXV0yQ82Evdhti7um3GMDU2WKXVJvzRB6EmeMB1OEhRLtbLsVDJoO3uTNdT7r2u+zVbJ0FxWt53bg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1595937298857707.5451895010493; Tue, 28 Jul 2020 04:54:58 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-228-dk7LRYodN4GznvVH1seBwA-1; Tue, 28 Jul 2020 07:54:54 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 93647107ACCA; Tue, 28 Jul 2020 11:54:49 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6E8E890E89; Tue, 28 Jul 2020 11:54:49 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 301151809554; Tue, 28 Jul 2020 11:54:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBsjss022651 for ; Tue, 28 Jul 2020 07:54:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9D20E726BE; Tue, 28 Jul 2020 11:54:45 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id E0857726BA for ; Tue, 28 Jul 2020 11:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937297; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=O0MWSN+BShjO1r9jZmoLHubev8wHR9YbuhiR0tKms5E=; b=RTHgxyIZJiy13f4H49RRslZi5pIOQau3+/WKM5GI3sJxZugM9EpErmSjkjfKj+2kBwHc6H LuJ60+fwUvgkqvGHtp5usnvnLTwocjIVvE9j6QHzxuM/sJQikapTQfBVzqZJ9S5x3eUONS WqpcX0UHLsaiNQc77E/aOjviCeg1nRY= X-MC-Unique: dk7LRYodN4GznvVH1seBwA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 4/9] test: remove unused NUM_CELLS Date: Tue, 28 Jul 2020 13:54:23 +0200 Message-Id: <93e8ed0fd8b1d1928385e6ae1764525a72b92aa0.1595937055.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: J=C3=A1n Tomko Fixes: 2bd7ed78a7cd68775de8cb912c7a57db7721a10b Reviewed-by: Jonathon Jongsma --- src/test/test_driver.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 993f405f3c..01c4675c30 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -83,8 +83,6 @@ struct _testCell { typedef struct _testCell testCell; typedef struct _testCell *testCellPtr; =20 -#define MAX_CELLS 128 - struct _testAuth { char *username; char *password; --=20 2.26.2 From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937303; cv=none; d=zohomail.com; s=zohoarc; b=UzI4l6tuG1slbqZDsr43FJzemZEAlvmeJXAUgMssN3gePF81qIGUFl0otiPMV5myQkL0s9Ftd7yr5U2Tz1mdv45V/EkVbOejKIUbn+N0hDUvaL/STgbWfE3NUMR3UrWchvwNaVp57ERWR8vPJZW3a5RsoHkYhn6R8foZ9ha8wks= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937303; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Bx3WyBHHAjf5bYNT6waWnId66XH+Fwb7KoVq7PCe/Ag=; b=STD84jprGnGcBn6qyvdtysxjwOfGffrT2q84rZtkmmZyKDd+kjjOjnP1ZCAOCDBkBVNaNzK6wX4e7Ba6U4AMLAEzT5Oe/OKvUuClDXl3+Ui8ToKEkmL32OQNFX6hF2GbEI4210WopRSE2joJWSmgv7lhz+WMNOKeTl1ZqoUAyks= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1595937303906148.11686452315996; Tue, 28 Jul 2020 04:55:03 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-318-KWcDauLpOCigLmItkStSHQ-1; Tue, 28 Jul 2020 07:54:59 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5A66A80047C; Tue, 28 Jul 2020 11:54:53 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 389B5709F2; Tue, 28 Jul 2020 11:54:53 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 0720BA35A9; Tue, 28 Jul 2020 11:54:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBskaF022661 for ; Tue, 28 Jul 2020 07:54:46 -0400 Received: by smtp.corp.redhat.com (Postfix) id A8BFB726BE; Tue, 28 Jul 2020 11:54:46 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 12D6B726BA for ; Tue, 28 Jul 2020 11:54:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937302; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Bx3WyBHHAjf5bYNT6waWnId66XH+Fwb7KoVq7PCe/Ag=; b=WoFL6k7hz/iP+I5B+mP6dyME+kZLi19VDz5coKwbCIhGg9IcNtVktwdwxVqrOza26CqvhY bAp4O666Fgy9BTR4gRc0Suj91auPS/li3GEf2Twd1Q9IRDRIOfPqLyA/H9oFZVgcgmFaBa o/IbgVSTnnX1uxWbfAsiWAJ1yh1LTpY= X-MC-Unique: KWcDauLpOCigLmItkStSHQ-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 5/9] util: remove unused VIR_MCAST_ADDR_LEN Date: Tue, 28 Jul 2020 13:54:24 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Unused since its introduction. Signed-off-by: J=C3=A1n Tomko Fixes: cc0e8c244d080f56392278e836cc378ba848e7aa Reviewed-by: Jonathon Jongsma --- src/util/virnetdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/virnetdev.c b/src/util/virnetdev.c index 41dc5bd4c4..b42fa86672 100644 --- a/src/util/virnetdev.c +++ b/src/util/virnetdev.c @@ -72,7 +72,6 @@ VIR_LOG_INIT("util.netdev"); #define MAX_MCAST_SIZE 50*14336 #define VIR_MCAST_NAME_LEN (IFNAMSIZ + 1) #define VIR_MCAST_TOKEN_DELIMS " \n" -#define VIR_MCAST_ADDR_LEN (VIR_MAC_HEXLEN + 1) =20 #if defined(SIOCSIFFLAGS) && defined(HAVE_STRUCT_IFREQ) # define VIR_IFF_UP IFF_UP --=20 2.26.2 From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937384; cv=none; d=zohomail.com; s=zohoarc; b=nDOby4mYoChAX8GShS4dua6oozNblQIaw0EqIRVaMVcFo0dLwmnYAgi9dUnnBv9+LS+rp8YF8ybestpL7ly7fEQvKmfd4gKRQb0RfGWy8RjkR+kIOq+8Vvn7Gl3Y+daslpf1gFULqqSROmM1/lLrhVtMk5rpZV3L04wX1Mc1FRE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937384; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=VZGM3ySEWrZKoLIuEGKtpu+k9U8Y1t5JNjrbTgfGNxg=; b=UJkjtMIKE/B4oyAPr5lI8VzLcPEKFuaD/rCIM8pDaPVqVKkRUCcNPaQf8AXJenEgToYXyUFzVOMwRi1AR7dv6LRd1EhzA5P0eBt8hFAUcedpkyifDZ/AFPa5WDsGZw2+MPdRrzb/A+lNGGlIWc2+VMfurEB/OpCfBJEqcAOlrno= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1595937384462669.1148189400864; Tue, 28 Jul 2020 04:56:24 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-14-Kb20dN3eNDWkhFMf6FYebA-1; Tue, 28 Jul 2020 07:56:19 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 37C96800460; Tue, 28 Jul 2020 11:56:13 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 17D6A5DA71; Tue, 28 Jul 2020 11:56:13 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id DB7201809563; Tue, 28 Jul 2020 11:56:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBsmBw022674 for ; Tue, 28 Jul 2020 07:54:48 -0400 Received: by smtp.corp.redhat.com (Postfix) id E53EC88F1D; Tue, 28 Jul 2020 11:54:47 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 31AB3726BA for ; Tue, 28 Jul 2020 11:54:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937383; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=VZGM3ySEWrZKoLIuEGKtpu+k9U8Y1t5JNjrbTgfGNxg=; b=eAj/u9c7gJ1uYU2HbvWoqxknU4PfuY9EIZ3W/G2Rhdzn/eaBeGaYBGOFDWksCJMFjEXvNk dR5F6f8gugJkNiaMZi7vbarg5O+9feA7IvZeasF2FYJexgKRhdPiDTUiBrv0TdWRSmwKtq qPkoWQElo3HGwuTdYeiMRreRNZr+WYY= X-MC-Unique: Kb20dN3eNDWkhFMf6FYebA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 6/9] virsh: remove unused FILTER macro Date: Tue, 28 Jul 2020 13:54:25 +0200 Message-Id: <0d628040a2288349b94905f4f41330cb0942e68a.1595937055.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: J=C3=A1n Tomko Fixes: c2dd9ddf7b18ebfb108623d4711c80b716a261d7 Reviewed-by: Jonathon Jongsma --- tools/virsh-network.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/virsh-network.c b/tools/virsh-network.c index ed90736345..b10cd03bcc 100644 --- a/tools/virsh-network.c +++ b/tools/virsh-network.c @@ -1744,9 +1744,6 @@ static const vshCmdOptDef opts_network_port_list[] = =3D { {.name =3D NULL} }; =20 -#define FILTER(NAME, FLAG) \ - if (vshCommandOptBool(cmd, NAME)) \ - flags |=3D (FLAG) static bool cmdNetworkPortList(vshControl *ctl, const vshCmd *cmd) { @@ -1802,7 +1799,6 @@ cmdNetworkPortList(vshControl *ctl, const vshCmd *cmd) virshNetworkPortListFree(list); return ret; } -#undef FILTER =20 =20 const vshCmdDef networkCmds[] =3D { --=20 2.26.2 From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937428; cv=none; d=zohomail.com; s=zohoarc; b=JAHZeiDliT8YGXKUiGUlkwSQyoLdP8gjg3U8nCvc8dSf8k8phDq9O9GbKLf5jmd8lQT7MYFT758+A/SCjFzgwrwZnfW02cEcrLmZTaZSdJeRoUbaM3NGw+EIAx2bURn0yc+mOI9Loyyspk+jU0NL1u4/rHaIz65K7988+F7Ye9M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937428; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NSZ+xkoJeKtwsiYWpfkh2BVHQ6lWb5d0h5aWgaqbQo4=; b=lPXlZ9Fs5uWFWXX5StI22qPLEMxj48E3xlNvbmphi4X3Y4bIMkAhlSlMiGrLXffAkwoFxfNX+zk8kIoHIEeFQWBfy7ZHsxlgOXd54JUYi+r/KNrkryIlTr/2yAHH8TzeGHYi00ve9i1M3lsdOtwuFntELPKdbA/6nVoNb9cdnig= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1595937428840844.3432637339853; Tue, 28 Jul 2020 04:57:08 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-485-qlm9fS4UPM2xIU0Ji5REpQ-1; Tue, 28 Jul 2020 07:56:21 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8C75118C63C1; Tue, 28 Jul 2020 11:56:15 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6888C100238C; Tue, 28 Jul 2020 11:56:15 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 37939A35A7; Tue, 28 Jul 2020 11:56:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBspL2022699 for ; Tue, 28 Jul 2020 07:54:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 94703726BE; Tue, 28 Jul 2020 11:54:51 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 11F63726BA for ; Tue, 28 Jul 2020 11:54:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937427; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=NSZ+xkoJeKtwsiYWpfkh2BVHQ6lWb5d0h5aWgaqbQo4=; b=GhSiQ26+E+tXhUAseybBD1vsKGNU6YhYP9U9/jMa/Mg73As5yeKjlqjS8IQWz6Surw7egm iC5ewE7QhQfaaIzasFgdIoNmX83sTdxohvFFYSWutv5+K72G2ETEcyGnQSjneYWDE77ljk 8flQqOfkH51BSvPI1A33ANHGxYrCM4A= X-MC-Unique: qlm9fS4UPM2xIU0Ji5REpQ-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 7/9] virt-admin: remove unused VIRT_ADMIN_TIME_BUFLEN Date: Tue, 28 Jul 2020 13:54:26 +0200 Message-Id: <4a2e322cc229454f88e77c1359079b77bd2f5b46.1595937055.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The switch to GDateTime removed the last use. Signed-off-by: J=C3=A1n Tomko Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2 Reviewed-by: Jonathon Jongsma --- tools/virt-admin.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/virt-admin.c b/tools/virt-admin.c index fef0332a0d..cc136397bd 100644 --- a/tools/virt-admin.c +++ b/tools/virt-admin.c @@ -42,9 +42,6 @@ =20 #define VIRT_ADMIN_PROMPT "virt-admin # " =20 -/* we don't need precision to milliseconds in this module */ -#define VIRT_ADMIN_TIME_BUFLEN VIR_TIME_STRING_BUFLEN - 3 - static char *progname; =20 static const vshCmdGrp cmdGroups[]; --=20 2.26.2 From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937373; cv=none; d=zohomail.com; s=zohoarc; b=DjPDvFF77F/N/oJ97U395CnoW9jD3jPUH4Y9V0vRa3KOFVmcW6JJ4jWSjbkkq/sEhSDQnPPJVsdxnPglDEvyRv9e5nabYBR70GiRt9p+ros3FVJpOMXPeRT+0i2V+rJo6FH+ZOfqFniFdzuRD4GQPAoXk1HuBW8QSMMtEQy3yvM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937373; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=R2ZmCOF2qPcQvk+iA8pNSxKvg0kkZYHcDvlIhKy99HI=; b=BSQ+0nTSYbKng+Xg44zTfhEeNHj8OrhC5/1Rt1KpZFaTzC1xixkg0QhbJn78HRHoz0nQ0UdxN3WVccgEMSK5lYQ/DynPdQ2p4Pp8mpFRsOVU1HlWCWVzAhNtF+DufI/zguidlkmCulfj9+ix/OjyzHHu2rR5b8DICe8kk79sqTk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1595937373598252.61651734378881; Tue, 28 Jul 2020 04:56:13 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-415-E8GygQTvNV2ZxWDRLVQCOA-1; Tue, 28 Jul 2020 07:55:02 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9CDFB18C63C6; Tue, 28 Jul 2020 11:54:55 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7BC80712F0; Tue, 28 Jul 2020 11:54:55 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 4DC4EA35AC; Tue, 28 Jul 2020 11:54:55 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBsq4S022704 for ; Tue, 28 Jul 2020 07:54:52 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8F449726BA; Tue, 28 Jul 2020 11:54:52 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0258272ACF for ; Tue, 28 Jul 2020 11:54:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937372; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=R2ZmCOF2qPcQvk+iA8pNSxKvg0kkZYHcDvlIhKy99HI=; b=Q9m/BPnfFr8y/TfbC8VQoq/2b4xI/ks+zh5BGM7dhqlwezEwp0PbmP0eAPxMXxYANFxJfZ rjhjcu5SnsayUaeLwKWFGqWpiWTv5rZ3LEaN8qsJntj1vi06acHiDXkneAtoyKDGNWZHKt L4touEJcKR7i21+RKzd9kXMu6KHq1fk= X-MC-Unique: E8GygQTvNV2ZxWDRLVQCOA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 8/9] util: vportprofile: remove unused constants Date: Tue, 28 Jul 2020 13:54:27 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) After the switch to libnl these are no longer used. Signed-off-by: J=C3=A1n Tomko Fixes: 77e7c13b2ef95724c39395d92725b1a892ff84de Reviewed-by: Jonathon Jongsma --- src/util/virnetdevvportprofile.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/util/virnetdevvportprofile.c b/src/util/virnetdevvportprof= ile.c index ef372aca22..020683fa04 100644 --- a/src/util/virnetdevvportprofile.c +++ b/src/util/virnetdevvportprofile.c @@ -63,10 +63,6 @@ VIR_LOG_INIT("util.netdevvportprofile"); =20 # define MICROSEC_PER_SEC (1000 * 1000) =20 -# define NLMSGBUF_SIZE 256 -# define RATTBUF_SIZE 64 - - # define STATUS_POLL_TIMEOUT_USEC (10 * MICROSEC_PER_SEC) # define STATUS_POLL_INTERVL_USEC (MICROSEC_PER_SEC / 8) =20 --=20 2.26.2 From nobody Fri Apr 19 16:04:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937390; cv=none; d=zohomail.com; s=zohoarc; b=dXLk9QjzmQNF7gLtmoLO9cAGD/wlgMmOliWOsU7GduRpw/hC/ajy7kwureu2ivteKysYPKDArK2utA/cRh3PuYXuFHyj+LYjie7KCMuzDX5Ci7tEiiDUIXWC8+dZPkRtwrhNVC0A//jV52spthzeLOEUmRXdrlWxZdqkoqIaeFI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937390; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=4/4wFKnlwcCUVGchShE8nnSMHe6RnJ3vZ4j+wDS7PC8=; b=SKKJn0Dr9FjdWo7cCo+maeoFuUVNfgJ8E2Djkrc61Obmj+2KJ6hey27yWx78l0kI0ZCevi2hbVYqKuEyHrq5pWXNuEzJOAgE0XCPYoK6QsfwgEP96JDx9ZHlhxpGyKicdyXaeJNEB5ACTzprXumhXP0L+n4TVjq5OiE1j4wyrqQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1595937390354459.545010999385; Tue, 28 Jul 2020 04:56:30 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-208-In8DeaBkM7KTZ1TpTMjTZA-1; Tue, 28 Jul 2020 07:56:26 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CA12891277; Tue, 28 Jul 2020 11:56:17 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AB5E1726B6; Tue, 28 Jul 2020 11:56:17 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7A8201806B0A; Tue, 28 Jul 2020 11:56:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBt05u022741 for ; Tue, 28 Jul 2020 07:55:00 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4B67572ACF; Tue, 28 Jul 2020 11:55:00 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9C421726BF for ; Tue, 28 Jul 2020 11:54:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937389; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=4/4wFKnlwcCUVGchShE8nnSMHe6RnJ3vZ4j+wDS7PC8=; b=dOXqboDpP3iGe/TcYiNch8hiPkqOveGQd/rPpqHJghe4IHz+ofXQ+WOEJCbUo9CgOIXM4C 8tNMaNzUrRW6w8q0j4Btlc+q7Ieey1WRQ8SKIosMagkh2AnchCfrKB392YYcqnFliXOrU6 v3Ny7KkskVcS8idpstklgOO/3GgPokM= X-MC-Unique: In8DeaBkM7KTZ1TpTMjTZA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 9/9] util: netdevip: remove unused VIR_NETDEV_FAMILY Date: Tue, 28 Jul 2020 13:54:28 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: J=C3=A1n Tomko Fixes: cf0568b0af4ef4f903da1b184fc9b232c6f29457 Reviewed-by: Jonathon Jongsma --- src/util/virnetdevip.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/util/virnetdevip.c b/src/util/virnetdevip.c index 8b85c7beca..409f062c5c 100644 --- a/src/util/virnetdevip.c +++ b/src/util/virnetdevip.c @@ -43,11 +43,6 @@ #ifdef __linux__ # include # include -# define VIR_NETDEV_FAMILY AF_UNIX -#elif defined(HAVE_STRUCT_IFREQ) && defined(AF_LOCAL) -# define VIR_NETDEV_FAMILY AF_LOCAL -#else -# undef HAVE_STRUCT_IFREQ #endif =20 #define VIR_DAD_WAIT_TIMEOUT 20 /* seconds */ --=20 2.26.2