]> xenbits.xensource.com Git - libvirt.git/commitdiff
node_device_conf.c: remove dead initialization
authorJim Meyering <meyering@redhat.com>
Thu, 3 Sep 2009 11:38:57 +0000 (13:38 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 3 Sep 2009 16:04:23 +0000 (18:04 +0200)
* src/node_device_conf.c (virNodeDeviceDefFormat): Remove dead
initialization.

src/node_device_conf.c

index 56a9bb53a30714aca66041101145e84905cfcf39..5b25bb7787149e91d7fea3de85d05ac31df3de4a 100644 (file)
@@ -213,7 +213,7 @@ char *virNodeDeviceDefFormat(virConnectPtr conn,
                              const virNodeDeviceDefPtr def)
 {
     virBuffer buf = VIR_BUFFER_INITIALIZER;
-    virNodeDevCapsDefPtr caps = def->caps;
+    virNodeDevCapsDefPtr caps;
     char *tmp;
 
     virBufferAddLit(&buf, "<device>\n");