ARM: 8696/1: mm: Remove dead code in mem_init()
authorVladimir Murzin <vladimir.murzin@arm.com>
Mon, 4 Sep 2017 08:17:48 +0000 (09:17 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 28 Sep 2017 10:13:04 +0000 (11:13 +0100)
commit0d9ac1625ac1041742c72c3b680198f0304539b2
treef67ea6a512ed5a59a627b40fdfa8e448e2715b16
parent6022f80da0d9d42e02e78f3fb42930ee86f3e7af
ARM: 8696/1: mm: Remove dead code in mem_init()

The code in question checks memory constrains to set default policy for
overcommit; however we support page size of 4K only thus condition is
always evaluated to false. Remove that dead code.

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/init.c