powerpc/mm/radix: Drop unneeded NULL check
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Oct 2017 07:11:00 +0000 (12:41 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 Oct 2017 10:08:31 +0000 (12:08 +0200)
commit6773027205ea4ccf17055d7f0a0cd813f22fe127
tree98b77656be9b901d3edfe5b43f7a79088ed1dd70
parent402e172a2ce76210f2fe921cf419d12103851344
powerpc/mm/radix: Drop unneeded NULL check

We call these functions with non-NULL mm or vma. Hence we can skip the
NULL check in these functions. We also remove now unused function
__local_flush_hugetlb_page().

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
[mpe: Drop the checks with is_vm_hugetlb_page() as noticed by Nick]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hugetlb.h
arch/powerpc/mm/tlb-radix.c