# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1259893229 28800
# Node ID 67abfd38dce38599a70213327df509bd1f967d03
# Parent 57490fca41e5b1f2ecc893bf22771a6c718df161
Remove duplicate code in _netpool_member_of()
diff -r 57490fca41e5 -r 67abfd38dce3 src/Virt_DevicePool.c
--- a/src/Virt_DevicePool.c Thu Dec 03 18:20:28 2009 -0800
+++ b/src/Virt_DevicePool.c Thu Dec 03 18:20:29 2009 -0800
@@ -490,12 +490,6 @@
goto out;
}
- if (ndev->source == NULL) {
- CU_DEBUG("Unable to determine pool since no network "
- "source defined");
- goto out;
- }
-
if (STREQ(ndev->type, "bridge"))
net = bridge_to_network(conn, ndev->source);
else if (STREQ(ndev->type, "network"))