]> git.karo-electronics.de Git - linux-beck.git/commit
arm64/numa: remove some useless code
authorZhen Lei <thunder.leizhen@huawei.com>
Thu, 1 Sep 2016 06:55:03 +0000 (14:55 +0800)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Sep 2016 13:59:09 +0000 (14:59 +0100)
commitdf7ffa34cc0c06bfa7206732df78725ff34633ee
tree5fa1850e56a5b9f9bee37317ce9dda53e52e9ba4
parent7af3a0a992524ffddc342cd1481cc4dcb3f1da71
arm64/numa: remove some useless code

When the deleted code is executed, only the bit of cpu0 was set on
cpu_possible_mask. So that, only set_cpu_numa_node(0, NUMA_NO_NODE); will
be executed. And map_cpu_to_node(0, 0) will soon be called. So these code
can be safely removed.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/numa.c