[kvm-unit-tests PATCH v8 12/12] lib/x86: remove unused SVM_IOIO_* macros

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

 



From: Vasant Karasulli <vkarasulli@xxxxxxx>

svm.h contains many such macros are not used anywhere.

Signed-off-by: Vasant Karasulli <vkarasulli@xxxxxxx>
---
 lib/x86/svm.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/lib/x86/svm.h b/lib/x86/svm.h
index 96e17dc3..53bf115a 100644
--- a/lib/x86/svm.h
+++ b/lib/x86/svm.h
@@ -140,16 +140,7 @@ struct __attribute__ ((__packed__)) vmcb_control_area {

 #define SVM_INTERRUPT_SHADOW_MASK 1

-#define SVM_IOIO_STR_SHIFT 2
-#define SVM_IOIO_REP_SHIFT 3
 #define SVM_IOIO_SIZE_SHIFT 4
-#define SVM_IOIO_ASIZE_SHIFT 7
-
-#define SVM_IOIO_TYPE_MASK 1
-#define SVM_IOIO_STR_MASK (1 << SVM_IOIO_STR_SHIFT)
-#define SVM_IOIO_REP_MASK (1 << SVM_IOIO_REP_SHIFT)
-#define SVM_IOIO_SIZE_MASK (7 << SVM_IOIO_SIZE_SHIFT)
-#define SVM_IOIO_ASIZE_MASK (7 << SVM_IOIO_ASIZE_SHIFT)

 #define SVM_IOIO_TYPE_STR  BIT(2)
 #define SVM_IOIO_TYPE_IN   1
--
2.34.1





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux