]> xenbits.xensource.com Git - libvirt.git/commitdiff
Remove some debug code from storage_driver.c
authorCole Robinson <crobinso@redhat.com>
Tue, 5 May 2009 14:18:51 +0000 (14:18 +0000)
committerCole Robinson <crobinso@redhat.com>
Tue, 5 May 2009 14:18:51 +0000 (14:18 +0000)
ChangeLog
src/storage_driver.c

index ba649bb3dade98563f09bc6a9bce88980888fa25..c1b3fe7eab94d006bc93a0ea1f21ea55c6056a11 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue May  5 10:18:15 EDT 2009 Cole Robinson <crobinso@redhat.com>
+
+       * src/storage_driver.c: Remove some debug code from storage_driver.c
+
 Tue May  5 10:16:56 EDT 2009 Cole Robinson <crobinso@redhat.com>
 
        * src/libvirt.c: Use proper error code in virStorageVolCreateXML
index 8c4a03a78dd65a49b09fd86ca130504bd27bb56c..b72f0a0c3aa35b123ece559e60fb74dfc4f6c1ec 100644 (file)
@@ -1251,12 +1251,6 @@ storageVolumeCreateXML(virStoragePoolPtr obj,
     volobj = virGetStorageVol(obj->conn, pool->def->name, voldef->name,
                               voldef->key);
 
-    if (0) {
-        printf("after vol lookup.\n");
-        virReportOOMError(obj->conn);
-        goto cleanup;
-    }
-
     if (volobj && backend->buildVol) {
         int buildret;
         virStorageVolDefPtr buildvoldef = NULL;