Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0cfeb5d authored by Gleb Natapov's avatar Gleb Natapov Committed by Marcelo Tosatti
Browse files

KVM: x86: remove unused variable from walk_addr_generic()



Fix compilation warning.

Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 908e7d79
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -151,7 +151,7 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker,
	pt_element_t pte;
	pt_element_t pte;
	pt_element_t __user *uninitialized_var(ptep_user);
	pt_element_t __user *uninitialized_var(ptep_user);
	gfn_t table_gfn;
	gfn_t table_gfn;
	unsigned index, pt_access, pte_access, accessed_dirty, shift;
	unsigned index, pt_access, pte_access, accessed_dirty;
	gpa_t pte_gpa;
	gpa_t pte_gpa;
	int offset;
	int offset;
	const int write_fault = access & PFERR_WRITE_MASK;
	const int write_fault = access & PFERR_WRITE_MASK;