mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
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:
parent
3c306033f9
commit
132d6eb9ba
@ -491,8 +491,6 @@ virNetDevOpenvswitchGetVhostuserIfname(const char *path,
|
|||||||
char **ifname)
|
char **ifname)
|
||||||
{
|
{
|
||||||
char *tmpIfname = NULL;
|
char *tmpIfname = NULL;
|
||||||
char **tokens = NULL;
|
|
||||||
size_t ntokens = 0;
|
|
||||||
int status;
|
int status;
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
g_autoptr(virCommand) cmd = NULL;
|
g_autoptr(virCommand) cmd = NULL;
|
||||||
@ -524,7 +522,6 @@ virNetDevOpenvswitchGetVhostuserIfname(const char *path,
|
|||||||
ret = 1;
|
ret = 1;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
virStringListFreeCount(tokens, ntokens);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user