arm64: mm: remove unnecessary BUG_ON
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 30 Jun 2016 02:02:04 +0000 (10:02 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 30 Jun 2016 16:55:04 +0000 (17:55 +0100)
commit6c5269f33e96722f3e20dc694fba636cc1d4b3eb
tree2e68689549d8d272e3abd561bd9ef21d40b98edd
parent9fdc14c55cd6579d619ccd9d40982e0805e62b6d
arm64: mm: remove unnecessary BUG_ON

The memblock_alloc() and memblock_alloc_base() will panic on their own
if no free memory, remove pointless BUG_ON.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/mmu.c