Skip to content

Commit 6e15aee

Browse files
rustylynchjren1
authored andcommitted
Fix warning about unused variable
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
1 parent e479924 commit 6e15aee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hypervisor/common/hypercall.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,8 @@ int64_t hcall_setup_sbuf(struct vm *vm, uint64_t param)
667667

668668
int64_t hcall_get_cpu_pm_state(struct vm *vm, uint64_t cmd, uint64_t param)
669669
{
670-
int target_vm_id, target_vcpu_id;
670+
int target_vm_id;
671671
struct vm *target_vm;
672-
struct vcpu *target_vcpu;
673672

674673
target_vm_id = (cmd & PMCMD_VMID_MASK) >> PMCMD_VMID_SHIFT;
675674
target_vm = get_vm_from_vmid(target_vm_id);

0 commit comments

Comments
 (0)