diff mbox series

[3/3] sparc: Drop unused MAX_PHYSADDR_BITS

Message ID 20200723231544.17274-4-nivedita@alum.mit.edu (mailing list archive)
State New, archived
Headers show
Series Drop unused MAX_PHYSADDR_BITS | expand

Commit Message

Arvind Sankar July 23, 2020, 11:15 p.m. UTC
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(-)

Comments

David Hildenbrand July 24, 2020, 8:22 a.m. UTC | #1
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>
David Miller July 24, 2020, 11:37 p.m. UTC | #2
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 mbox series

Patch

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__) */