提交 e28ccd26 编写于 作者: M Martin Kletzander

util: Remove unused variable in virResctrlGetInfo

Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 68991180
......@@ -392,7 +392,6 @@ int
virResctrlGetInfo(virResctrlInfoPtr resctrl)
{
DIR *dirp = NULL;
char *info_path = NULL;
char *endptr = NULL;
char *tmp_str = NULL;
int ret = -1;
......@@ -507,7 +506,6 @@ virResctrlGetInfo(virResctrlInfoPtr resctrl)
ret = 0;
cleanup:
VIR_DIR_CLOSE(dirp);
VIR_FREE(info_path);
if (i_type)
VIR_FREE(i_type->cbm_mask);
VIR_FREE(i_type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册