mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 08:05:16 +00:00
util: Remove unused variable in virResctrlGetInfo
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
6899118043
commit
e28ccd2643
@ -392,7 +392,6 @@ int
|
|||||||
virResctrlGetInfo(virResctrlInfoPtr resctrl)
|
virResctrlGetInfo(virResctrlInfoPtr resctrl)
|
||||||
{
|
{
|
||||||
DIR *dirp = NULL;
|
DIR *dirp = NULL;
|
||||||
char *info_path = NULL;
|
|
||||||
char *endptr = NULL;
|
char *endptr = NULL;
|
||||||
char *tmp_str = NULL;
|
char *tmp_str = NULL;
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
@ -507,7 +506,6 @@ virResctrlGetInfo(virResctrlInfoPtr resctrl)
|
|||||||
ret = 0;
|
ret = 0;
|
||||||
cleanup:
|
cleanup:
|
||||||
VIR_DIR_CLOSE(dirp);
|
VIR_DIR_CLOSE(dirp);
|
||||||
VIR_FREE(info_path);
|
|
||||||
if (i_type)
|
if (i_type)
|
||||||
VIR_FREE(i_type->cbm_mask);
|
VIR_FREE(i_type->cbm_mask);
|
||||||
VIR_FREE(i_type);
|
VIR_FREE(i_type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user