From bb47ce4ac4c79c59771bc90e12b46fc523999a0a Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Tue, 21 Feb 2023 10:31:45 +0100 Subject: [PATCH] Remove unused member `upstream` from virDomainNetBackend 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 a5578324b9..3dfc5c87af 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 62f80d653d..7d58efb011 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='passt' */ char *logFile; /* path to logfile used by passt process */ - char *upstream; /* host interface to use for traffic egress */ }; struct _virDomainNetPortForwardRange {