diff mbox

[PATCHv2,3/4] arm64: dump: Remove max_addr

Message ID 1476311522-15381-4-git-send-email-labbott@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laura Abbott Oct. 12, 2016, 10:32 p.m. UTC
max_addr was added as part of struct ptdump_info but has never actually
been used. Remove it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
---
New for v2 of the series
---
 arch/arm64/include/asm/ptdump.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Rutland Oct. 17, 2016, 11:05 a.m. UTC | #1
On Wed, Oct 12, 2016 at 03:32:01PM -0700, Laura Abbott wrote:
> 
> max_addr was added as part of struct ptdump_info but has never actually
> been used. Remove it.
> 
> Signed-off-by: Laura Abbott <labbott@redhat.com>

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>

Thanks,
Mark.

> ---
> New for v2 of the series
> ---
>  arch/arm64/include/asm/ptdump.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm64/include/asm/ptdump.h b/arch/arm64/include/asm/ptdump.h
> index 7c35689..8fc0957 100644
> --- a/arch/arm64/include/asm/ptdump.h
> +++ b/arch/arm64/include/asm/ptdump.h
> @@ -30,7 +30,6 @@ struct ptdump_info {
>  	struct mm_struct		*mm;
>  	const struct addr_marker	*markers;
>  	unsigned long			base_addr;
> -	unsigned long			max_addr;
>  };
>  
>  void ptdump_walk_pgd(struct seq_file *s, struct ptdump_info *info);
> -- 
> 2.7.4
>
diff mbox

Patch

diff --git a/arch/arm64/include/asm/ptdump.h b/arch/arm64/include/asm/ptdump.h
index 7c35689..8fc0957 100644
--- a/arch/arm64/include/asm/ptdump.h
+++ b/arch/arm64/include/asm/ptdump.h
@@ -30,7 +30,6 @@  struct ptdump_info {
 	struct mm_struct		*mm;
 	const struct addr_marker	*markers;
 	unsigned long			base_addr;
-	unsigned long			max_addr;
 };
 
 void ptdump_walk_pgd(struct seq_file *s, struct ptdump_info *info);