HV: Remove misuesed __unused

There are some __unused attached to variables. But, those variables
are used by the function actually.

This patch remove them. No functional change.

Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Kaige Fu
2018-06-14 02:44:46 +08:00
committed by lijinxia
parent 719e07fb8f
commit 359b93f4cc
3 changed files with 6 additions and 7 deletions

View File

@@ -201,7 +201,7 @@ int vmexit_handler(struct vcpu *vcpu)
return ret;
}
static int unhandled_vmexit_handler(__unused struct vcpu *vcpu)
static int unhandled_vmexit_handler(struct vcpu *vcpu)
{
pr_fatal("Error: Unhandled VM exit condition from guest at 0x%016llx ",
exec_vmread(VMX_GUEST_RIP));