mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
tests: nodedev: remove unused variable
This variable was leftover from previous changes but is no longer used. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
3bbfbceb0f
commit
65b109f7e6
@ -42,7 +42,6 @@ testMdevctlCmd(virMdevctlCommand cmd_type,
|
||||
const char *jsonfile)
|
||||
{
|
||||
g_autoptr(virNodeDeviceDef) def = NULL;
|
||||
virNodeDeviceObj *obj = NULL;
|
||||
g_auto(virBuffer) buf = VIR_BUFFER_INITIALIZER;
|
||||
const char *actualCmdline = NULL;
|
||||
int ret = -1;
|
||||
@ -99,7 +98,6 @@ testMdevctlCmd(virMdevctlCommand cmd_type,
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
virNodeDeviceObjEndAPI(&obj);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user