[PATCH 1/2] libxl: Remove unused macros

Jim Fehlig jfehlig at suse.com
Tue Nov 23 23:43:29 UTC 2021


Remove unused JOB_MASK and DEFAULT_JOB_MASK macros.

Signed-off-by: Jim Fehlig <jfehlig at suse.com>
---
 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





More information about the libvir-list mailing list