[PATCH 1/2] libxl: Remove unused macros

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

 



Remove unused JOB_MASK and DEFAULT_JOB_MASK macros.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
---
 src/libxl/libxl_domain.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/libxl/libxl_domain.h b/src/libxl/libxl_domain.h
index 1618c47ed5..8d36197faf 100644
--- a/src/libxl/libxl_domain.h
+++ b/src/libxl/libxl_domain.h
@@ -27,11 +27,6 @@
 #include "virchrdev.h"
 #include "virenum.h"
 
-#define JOB_MASK(job)                  (job == 0 ? 0 : 1 << (job - 1))
-#define DEFAULT_JOB_MASK \
-    (JOB_MASK(LIBXL_JOB_DESTROY) | \
-     JOB_MASK(LIBXL_JOB_ABORT))
-
 /* Only 1 job is allowed at any time
  * A job includes *all* libxl.so api, even those just querying
  * information, not merely actions */
-- 
2.33.0





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux