Message ID | 20200723231544.17274-4-nivedita@alum.mit.edu (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Drop unused MAX_PHYSADDR_BITS | expand |
On 24.07.20 01:15, Arvind Sankar wrote: > The macro is not used anywhere, so remove the definition. > > Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> > --- > arch/sparc/include/asm/sparsemem.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/sparc/include/asm/sparsemem.h b/arch/sparc/include/asm/sparsemem.h > index 1dd1b61432db..aa9a676bc341 100644 > --- a/arch/sparc/include/asm/sparsemem.h > +++ b/arch/sparc/include/asm/sparsemem.h > @@ -7,7 +7,6 @@ > #include <asm/page.h> > > #define SECTION_SIZE_BITS 30 > -#define MAX_PHYSADDR_BITS MAX_PHYS_ADDRESS_BITS > #define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS > > #endif /* !(__KERNEL__) */ > Reviewed-by: David Hildenbrand <david@redhat.com>
From: Arvind Sankar <nivedita@alum.mit.edu> Date: Thu, 23 Jul 2020 19:15:44 -0400 > The macro is not used anywhere, so remove the definition. > > Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Acked-by: David S. Miller <davem@davemloft.net>
diff --git a/arch/sparc/include/asm/sparsemem.h b/arch/sparc/include/asm/sparsemem.h index 1dd1b61432db..aa9a676bc341 100644 --- a/arch/sparc/include/asm/sparsemem.h +++ b/arch/sparc/include/asm/sparsemem.h @@ -7,7 +7,6 @@ #include <asm/page.h> #define SECTION_SIZE_BITS 30 -#define MAX_PHYSADDR_BITS MAX_PHYS_ADDRESS_BITS #define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS #endif /* !(__KERNEL__) */
The macro is not used anywhere, so remove the definition. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> --- arch/sparc/include/asm/sparsemem.h | 1 - 1 file changed, 1 deletion(-)