[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 4/5] src/xenconfig: remove dead code



Signed-off-by: Jim Fehlig <jfehlig suse com>
---
 src/xenconfig/xen_xm.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/xenconfig/xen_xm.c b/src/xenconfig/xen_xm.c
index 0402213..83cc8c6 100644
--- a/src/xenconfig/xen_xm.c
+++ b/src/xenconfig/xen_xm.c
@@ -29,7 +29,6 @@
 #include "virerror.h"
 #include "virconf.h"
 #include "viralloc.h"
-#include "verify.h"
 #include "viruuid.h"
 #include "virsexpr.h"
 #include "count-one-bits.h"
@@ -2414,10 +2413,6 @@ xenFormatConfigCommon(virConfPtr conf,
 }
 
 
-/* Computing the vcpu_avail bitmask works because MAX_VIRT_CPUS is
-   either 32, or 64 on a platform where long is big enough.  */
-verify(MAX_VIRT_CPUS <= sizeof(1UL) * CHAR_BIT);
-
 virConfPtr
 xenFormatXM(virConnectPtr conn,
             virDomainDefPtr def,
-- 
1.8.4.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]