It was never used since commit @57b5e27d3d7 introduced it.
Signed-off-by: Yan Wang <wangyan122(a)huawei.com>
---
src/util/virnetdevopenvswitch.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitch.c
index f961777411..d16af72bdf 100644
--- a/src/util/virnetdevopenvswitch.c
+++ b/src/util/virnetdevopenvswitch.c
@@ -491,8 +491,6 @@ virNetDevOpenvswitchGetVhostuserIfname(const char *path,
char **ifname)
{
char *tmpIfname = NULL;
- char **tokens = NULL;
- size_t ntokens = 0;
int status;
int ret = -1;
g_autoptr(virCommand) cmd = NULL;
@@ -524,7 +522,6 @@ virNetDevOpenvswitchGetVhostuserIfname(const char *path,
ret = 1;
cleanup:
- virStringListFreeCount(tokens, ntokens);
return ret;
}
--
2.23.0