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:
Andrew Cooper committed 2018-11-23 13:46:59 +00:00
1 parent d13e07df79
commit fa599f97bd
1 file changed
-5
-5
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.