Re: [PATCH 4/4] mm/page_alloc.c: bad_[reason|flags] is not necessary when PageHWPoison

David Rientjes
2020-01-19T22:07:51Z

On Sun, 19 Jan 2020, Wei Yang wrote:

> Since function returns directly, bad_[reason|flags] is not used any
> where.
>
> This is a following cleanup for commit e570f56cccd21 ("mm:
> check_new_page_bad() directly returns in __PG_HWPOISON case")
>
> Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>

Acked-by: David Rientjes <rientjes@google.com>