This variable was leftover from previous changes but is no longer used. Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx> --- tests/nodedevmdevctltest.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/nodedevmdevctltest.c b/tests/nodedevmdevctltest.c index 3a53254195..b2507e1567 100644 --- a/tests/nodedevmdevctltest.c +++ b/tests/nodedevmdevctltest.c @@ -57,7 +57,6 @@ testMdevctlCmd(virMdevctlCommand cmd_type, const char *jsonfile) { g_autoptr(virNodeDeviceDef) def = NULL; - virNodeDeviceObjPtr obj = NULL; g_auto(virBuffer) buf = VIR_BUFFER_INITIALIZER; const char *actualCmdline = NULL; int ret = -1; @@ -113,7 +112,6 @@ testMdevctlCmd(virMdevctlCommand cmd_type, cleanup: virCommandSetDryRun(NULL, NULL, NULL); - virNodeDeviceObjEndAPI(&obj); return ret; } -- 2.26.3