提交 cc4d44ab 编写于 作者: E Erik Skultety

util: virnetdevopenvswitch: Drop an unused variable @ovs_timeout

Technically, it was never used ever since commit @f4d06ca8 introduced
it, but the fact that we called VIR_FREE on it was enough for Clang to
never complain about it.
Signed-off-by: NErik Skultety <eskultet@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 26cfb1a3
...@@ -473,7 +473,6 @@ virNetDevOpenvswitchGetVhostuserIfname(const char *path, ...@@ -473,7 +473,6 @@ virNetDevOpenvswitchGetVhostuserIfname(const char *path,
size_t ntokens = 0; size_t ntokens = 0;
int status; int status;
int ret = -1; int ret = -1;
VIR_AUTOFREE(char *) ovs_timeout = NULL;
/* Openvswitch vhostuser path are hardcoded to /* Openvswitch vhostuser path are hardcoded to
* /<runstatedir>/openvswitch/<ifname> * /<runstatedir>/openvswitch/<ifname>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册