From nobody Sat May 4 06:35:28 2024 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; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 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=1676972284; cv=none; d=zohomail.com; s=zohoarc; b=H+sC0aZ9HIYyACe31IvYCxiDAFl4RFKJzcq1YB6j/gXjURy1muyfNnMFuK3wQtCmzjPg+vQmaHfLLDY9/wvc12rSBxvbSIRK6BpT4ufunh+wNUeiJ2Ookbjvv4ll+dDPGtkflDmlCSNY9nxwHooS8m44sIWj5CX9UQrCuRbXi+E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1676972284; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=1SX2RVpnm9w0e5bSakUGtu8i0jUnJgQtAqY3uTnxge4=; b=iScGgxH7Je6gh3wYzBsJLL0jGv533a7u8o5HanckigDUkcUOTtkmd+lY+M3/1+V3R5P6AABW3RvpoRfYCcJo/mWK7aOY8kCIXF3WEd/galyJ9qtcy9UH9ssx2GzQUCan4Z7q+Uz/HJPj1qzdSpwulIhAP3LYia7puDASHny9nGs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) 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 1676972284323981.0149396696412; Tue, 21 Feb 2023 01:38:04 -0800 (PST) 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-616-enwtR2PZMam6EKx3GFRQtw-1; Tue, 21 Feb 2023 04:37:48 -0500 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 4AB9780D0F5; Tue, 21 Feb 2023 09:37:46 +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 9AE2EC15BA0; Tue, 21 Feb 2023 09:37: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 ED9E91946588; Tue, 21 Feb 2023 09:37:19 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8FBDC1946587 for ; Tue, 21 Feb 2023 09:37:18 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 71451492B05; Tue, 21 Feb 2023 09:37:18 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast07.extmail.prod.ext.rdu2.redhat.com [10.11.55.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 696C4492B04 for ; Tue, 21 Feb 2023 09:37:18 +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 4CAD03C0F192 for ; Tue, 21 Feb 2023 09:37:18 +0000 (UTC) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-621-HxOKViVRNO6znk49VTJbww-1; Tue, 21 Feb 2023 04:37:16 -0500 Received: by mail-wr1-f69.google.com with SMTP id a7-20020a056000188700b002c53d342406so601919wri.2 for ; Tue, 21 Feb 2023 01:37:16 -0800 (PST) Received: from wheatley.localdomain (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id v9-20020a05600c444900b003e21f01c426sm3160941wmn.9.2023.02.21.01.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 01:37:15 -0800 (PST) Received: from wheatley.redhat.com (wheatley.k8r.cz [127.0.0.1]) by wheatley.localdomain (Postfix) with ESMTP id 0127DDE08595; Tue, 21 Feb 2023 10:37:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676972283; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=1SX2RVpnm9w0e5bSakUGtu8i0jUnJgQtAqY3uTnxge4=; b=gD+LGSV0zNWgfth49usbxskthTgAWZ7auG0vYMdMTmo6iIMlCESGUTVIhv2A7ccditLlkP 2KnOe+WaieskPjBLwkvGgXBfmod1S6ZoYl2uT43pXuFA0YCMxdrRLOlX3ahZhejYPU9ZS9 J5NBzeSdO5qDJxbhrdgttUimUEVCdLM= X-MC-Unique: enwtR2PZMam6EKx3GFRQtw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: HxOKViVRNO6znk49VTJbww-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1SX2RVpnm9w0e5bSakUGtu8i0jUnJgQtAqY3uTnxge4=; b=iAwm0ERqERkivq//6PL8L7DgY5V0ee3yYfDNixP2+1w2hIQgAGKDhhPJNRPopVc7w6 qTbyNqh2yCq9vZFimcRIYeZycB+KLqHkVQWY9TD8J/XHmEFLFvcCzolrSEGTRD8DayW8 8zTSGvxs14n8htQyvjOP9XlpEIof/FiOKwIPwtLIklXTH8Jfa1o58t4bVs7bJVsGe/3u bFeo5TZ6s88kgJuYm9+GUCw9BIcBhNZKk1q72L5i9aTTQSjGvzqKfB9cDJQTIZIIewXs +rpG1YajvzJh1l1sSg5onmppAgikRAUOuT55AOctcQgjj/MTv/TPGoLPpVKYcXGNDGta 4l4A== X-Gm-Message-State: AO0yUKXoS8tewKWYQSJERNIjZJDwhpx9tDCnwrKpLafud7Hj0tROedtw bQotVaN52q6DX7X8j9MGuQz9Nn7Fa1UPW7j+Hq0oqs62sZGXWfvRqioKhpQNwKxiHwD/wsbz0GN smUxOkGfJM/auFPTK4XY= X-Received: by 2002:a05:600c:2b45:b0:3df:85d2:c768 with SMTP id e5-20020a05600c2b4500b003df85d2c768mr2795660wmf.26.1676972235841; Tue, 21 Feb 2023 01:37:15 -0800 (PST) X-Google-Smtp-Source: AK7set8Z5ZV4nACCicx4bgmmkgUIbtFeOu0hbz/jl0p2mAELXiVBNa5g/KIyilNs2TecARengms4Nw== X-Received: by 2002:a05:600c:2b45:b0:3df:85d2:c768 with SMTP id e5-20020a05600c2b4500b003df85d2c768mr2795649wmf.26.1676972235604; Tue, 21 Feb 2023 01:37:15 -0800 (PST) From: Martin Kletzander To: libvir-list@redhat.com Subject: [PATCH] Remove unused member `upstream` from virDomainNetBackend Date: Tue, 21 Feb 2023 10:37:04 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 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: laine@redhat.com Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1676972285854100001 Content-Type: text/plain; charset="utf-8"; x-default="true" It was used briefly and subsequently removed in 3592b81c4c71. Signed-off-by: Martin Kletzander Reviewed-by: Michal Privoznik --- src/conf/domain_conf.c | 1 - src/conf/domain_conf.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index a5578324b93a..3dfc5c87af3c 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -2762,7 +2762,6 @@ virDomainNetDefFree(virDomainNetDef *def) g_free(def->backend.tap); g_free(def->backend.vhost); g_free(def->backend.logFile); - g_free(def->backend.upstream); virDomainNetTeamingInfoFree(def->teaming); g_free(def->virtPortProfile); g_free(def->script); diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 62f80d653da8..7d58efb01170 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1061,7 +1061,6 @@ struct _virDomainNetBackend { char *vhost; /* The following are currently only valid/used when backend type=3D'pa= sst' */ char *logFile; /* path to logfile used by passt process */ - char *upstream; /* host interface to use for traffic egress */ }; =20 struct _virDomainNetPortForwardRange { --=20 2.39.1