mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +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 *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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user