]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/hwpoison: remove unneeded variable unmap_success
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 23 Aug 2021 23:59:27 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:06 +0000 (09:34 +1000)
commit0cda9b0410bebc97d36de9a3119a12868718ef28
tree0dfd7cf86b1cfbb23645de602fb4ddcb0f28416b
parent81b4f3bb4acbfb0c87d936ddeb749c4ecebef6cb
mm/hwpoison: remove unneeded variable unmap_success

Patch series "Cleanups and fixup for hwpoison"

This series contains cleanups to remove unneeded variable, fix some
obsolete comments and so on.  Also we fix potential pte_unmap_unlock on
wrong pte.  More details can be found in the respective changelogs.

This patch (of 4):

unmap_success is used to indicate whether page is successfully unmapped
but it's irrelated with ZONE_DEVICE page and unmap_success is always true
here.  Remove this unneeded one.

Link: https://lkml.kernel.org/r/20210814105131.48814-1-linmiaohe@huawei.com
Link: https://lkml.kernel.org/r/20210814105131.48814-2-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/memory-failure.c