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:
Jonathon Jongsma 2021-04-09 15:32:04 -05:00
parent 3bbfbceb0f
commit 65b109f7e6

View File

@ -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;
}