]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/book3s64/hash: Drop WARN_ON in hash__remove_section_mapping()
authorDavid Hildenbrand <david@redhat.com>
Wed, 11 Nov 2020 14:53:20 +0000 (15:53 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Nov 2020 05:56:59 +0000 (16:56 +1100)
commit5a54816464924bf24c73aa56c9d1c1f82deb6987
tree40aa0feaab9c8618d11e20f9532a4b5986d7ae4c
parentadb6a2f9da68dbe4565f9dda8bc16a2341a4445d
powerpc/book3s64/hash: Drop WARN_ON in hash__remove_section_mapping()

The single caller (arch_remove_linear_mapping()) prints a proper
warning when this function fails. No need to eventually crash the
kernel - let's drop this WARN_ON.

Suggested-by: Oscar Salvador <osalvador@suse.de>
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201111145322.15793-7-david@redhat.com
arch/powerpc/mm/book3s64/hash_utils.c