This variable was leftover from previous changes but is no longer used.
Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
tests/nodedevmdevctltest.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/nodedevmdevctltest.c b/tests/nodedevmdevctltest.c
index 4c316e3ed0..65286761c1 100644
--- a/tests/nodedevmdevctltest.c
+++ b/tests/nodedevmdevctltest.c
@@ -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;
}
--
2.26.3