util: virnetdevopenvswitch: Delete unused code

It was never used since commit 57b5e27d3d introduced it.

Signed-off-by: Yan Wang <wangyan122@huawei.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Yan Wang 2020-05-13 10:51:50 +08:00 committed by Ján Tomko
parent 3c306033f9
commit 132d6eb9ba

View File

@ -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;
}