From: Lai Jiangshan Date: Sun, 5 Jun 2022 06:34:13 +0000 (+0800) Subject: KVM: X86/MMU: Remove unused PT32_DIR_BASE_ADDR_MASK from mmu.c X-Git-Tag: v6.1-rc5~719^2~6^2~224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc10020ac9ece7aacea87753beafc0fbd49e8c58;p=platform%2Fkernel%2Flinux-starfive.git KVM: X86/MMU: Remove unused PT32_DIR_BASE_ADDR_MASK from mmu.c It is unused. Signed-off-by: Lai Jiangshan Message-Id: <20220605063417.308311-3-jiangshanlai@gmail.com> Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c index 17252f3..f168693 100644 --- a/arch/x86/kvm/mmu/mmu.c +++ b/arch/x86/kvm/mmu/mmu.c @@ -125,8 +125,6 @@ module_param(dbg, bool, 0644); #define PT32_BASE_ADDR_MASK PAGE_MASK -#define PT32_DIR_BASE_ADDR_MASK \ - (PAGE_MASK & ~((1ULL << (PAGE_SHIFT + PT32_LEVEL_BITS)) - 1)) #define PT32_LVL_ADDR_MASK(level) \ (PAGE_MASK & ~((1ULL << (PAGE_SHIFT + (((level) - 1) \ * PT32_LEVEL_BITS))) - 1))