[libvirt PATCH v2 11/12] tests: nodedev: remove unused variable

Jonathon Jongsma jjongsma at redhat.com
Tue Apr 13 20:39:47 UTC 2021


This variable was leftover from previous changes but is no longer used.

Signed-off-by: Jonathon Jongsma <jjongsma at 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




More information about the libvir-list mailing list