43 lines
1.5 KiB
Diff
43 lines
1.5 KiB
Diff
From bf73e16686f339b35637aa6fd401d0ed8d9e191a Mon Sep 17 00:00:00 2001
|
|
Message-Id: <bf73e16686f339b35637aa6fd401d0ed8d9e191a@dist-git>
|
|
From: Erik Skultety <eskultet@redhat.com>
|
|
Date: Tue, 30 Jul 2019 15:30:48 +0200
|
|
Subject: [PATCH] util: virnetdevopenvswitch: Drop an unused variable
|
|
@ovs_timeout
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Technically, it was never used ever since commit @f4d06ca8fd9 introduced
|
|
it, but the fact that we called VIR_FREE on it was enough for Clang to
|
|
never complain about it.
|
|
|
|
Signed-off-by: Erik Skultety <eskultet@redhat.com>
|
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
(cherry picked from commit cc4d44ab31ffb2500cf52081e87b137385ec76e6)
|
|
|
|
Prerequisite of: https://bugzilla.redhat.com/show_bug.cgi?id=1721434
|
|
|
|
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
Message-Id: <a43450d34db47937012358004f45a6a17821883c.1564493409.git.mprivozn@redhat.com>
|
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
---
|
|
src/util/virnetdevopenvswitch.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitch.c
|
|
index 36c587efdb..0dcd49d40f 100644
|
|
--- a/src/util/virnetdevopenvswitch.c
|
|
+++ b/src/util/virnetdevopenvswitch.c
|
|
@@ -420,7 +420,6 @@ virNetDevOpenvswitchGetVhostuserIfname(const char *path,
|
|
size_t ntokens = 0;
|
|
int status;
|
|
int ret = -1;
|
|
- VIR_AUTOFREE(char *) ovs_timeout = NULL;
|
|
|
|
/* Openvswitch vhostuser path are hardcoded to
|
|
* /<runstatedir>/openvswitch/<ifname>
|
|
--
|
|
2.22.0
|
|
|