mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/vvmx: Drop unused CASE_{GET,SET}_REG() macros
These have been obsolete since c/s 053ae230 "x86/vvmx: Remove enum
vmx_regs_enc".
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
1 parent
d13e07df79
commit
fa599f97bd
1 file changed
-5
@@ -207,11 +207,6 @@ struct vmx_inst_decoded {
|
||||
unsigned int reg2;
|
||||
};
|
||||
|
||||
#define CASE_SET_REG(REG, reg) \
|
||||
case VMX_REG_ ## REG: regs->reg = value; break
|
||||
#define CASE_GET_REG(REG, reg) \
|
||||
case VMX_REG_ ## REG: value = regs->reg; break
|
||||
|
||||
static int vvmcs_offset(u32 width, u32 type, u32 index)
|
||||
{
|
||||
int offset;
|
||||
|
||||