powerpc/mm: Remove a redundant test in do_page_fault()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 19 Apr 2017 12:56:28 +0000 (14:56 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Jun 2017 09:18:34 +0000 (19:18 +1000)
commit97a011e69b42bec8ac10f8510d3cd73b50882d88
treecc247eb08898ae2f6a0da61ea1cba17ec1f51d40
parente8de85ca32f572f5dee00733022d8a1ce87aed3d
powerpc/mm: Remove a redundant test in do_page_fault()

The result of (trap == 0x400) is already in is_exec.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/fault.c