diff mbox series

[2/3] sh/mm: Drop unused MAX_PHYSADDR_BITS

Message ID 20200723231544.17274-3-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/sh/include/asm/sparsemem.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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/sh/include/asm/sparsemem.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/arch/sh/include/asm/sparsemem.h b/arch/sh/include/asm/sparsemem.h
> index 4eb899751e45..084706bb8cca 100644
> --- a/arch/sh/include/asm/sparsemem.h
> +++ b/arch/sh/include/asm/sparsemem.h
> @@ -5,11 +5,9 @@
>  #ifdef __KERNEL__
>  /*
>   * SECTION_SIZE_BITS		2^N: how big each section will be
> - * MAX_PHYSADDR_BITS		2^N: how much physical address space we have
> - * MAX_PHYSMEM_BITS		2^N: how much memory we can have in that space
> + * MAX_PHYSMEM_BITS		2^N: how much physical address space we have
>   */
>  #define SECTION_SIZE_BITS	26
> -#define MAX_PHYSADDR_BITS	32
>  #define MAX_PHYSMEM_BITS	32
>  
>  #endif
> 

Reviewed-by: David Hildenbrand <david@redhat.com>
diff mbox series

Patch

diff --git a/arch/sh/include/asm/sparsemem.h b/arch/sh/include/asm/sparsemem.h
index 4eb899751e45..084706bb8cca 100644
--- a/arch/sh/include/asm/sparsemem.h
+++ b/arch/sh/include/asm/sparsemem.h
@@ -5,11 +5,9 @@ 
 #ifdef __KERNEL__
 /*
  * SECTION_SIZE_BITS		2^N: how big each section will be
- * MAX_PHYSADDR_BITS		2^N: how much physical address space we have
- * MAX_PHYSMEM_BITS		2^N: how much memory we can have in that space
+ * MAX_PHYSMEM_BITS		2^N: how much physical address space we have
  */
 #define SECTION_SIZE_BITS	26
-#define MAX_PHYSADDR_BITS	32
 #define MAX_PHYSMEM_BITS	32
 
 #endif