From nobody Sun Feb 8 18:33:15 2026 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 --- 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