powerpc/mm: PTE_RPN_MAX is not used, remove the same
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 17 Jun 2015 02:43:40 +0000 (08:13 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jun 2015 07:10:28 +0000 (17:10 +1000)
Remove the unused #define

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pte-common.h

index c5a755ef7011ad18389ea9fca4db9236824e7343..b7c8d079c121e8fe6bea35eaad0eeeee206d4404 100644 (file)
@@ -85,10 +85,8 @@ extern unsigned long bad_call_to_PMD_PAGE_SIZE(void);
  * 64-bit PTEs
  */
 #if defined(CONFIG_PPC32) && defined(CONFIG_PTE_64BIT)
-#define PTE_RPN_MAX    (1ULL << (64 - PTE_RPN_SHIFT))
 #define PTE_RPN_MASK   (~((1ULL<<PTE_RPN_SHIFT)-1))
 #else
-#define PTE_RPN_MAX    (1UL << (32 - PTE_RPN_SHIFT))
 #define PTE_RPN_MASK   (~((1UL<<PTE_RPN_SHIFT)-1))
 #endif