Skip to content
Commit 49aef717 authored by Colin Ian King's avatar Colin Ian King Committed by Linus Torvalds
Browse files

mm/memblock.c: remove redundant assignment to variable max_addr



The variable max_addr is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarPankaj Gupta <pankaj.gupta.linux@gmail.com>
Reviewed-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Link: http://lkml.kernel.org/r/20200228235003.112718-1-colin.king@canonical.com


Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent aa9f7d51
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment