]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: nodedev: remove unused variable
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 9 Apr 2021 20:32:04 +0000 (15:32 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Mon, 19 Apr 2021 15:24:13 +0000 (10:24 -0500)
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>
tests/nodedevmdevctltest.c

index 4c316e3ed073af7e4d16dab311f8e053c9c0c4ed..65286761c1835f1c3fd907cfdb591cf3378a98d4 100644 (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;
 }