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