Re: [PATCH] mm: mempool: Remove unused argument in kasan_unpoison_element() and remove_element()

2018-06-21 Thread Michal Hocko
On Thu 21-06-18 15:03:32, Jia-Ju Bai wrote: > The argument "gfp_t flags" is not used in kasan_unpoison_element() > and remove_element(), so remove it. yeah, seems like left over from 9b75a867cc9d ("mm: mempool: kasan: don't poot mempool objects in quarantine") > Signed-off-by: Jia-Ju Bai Acke

Re: [PATCH] mm: mempool: Remove unused argument in kasan_unpoison_element() and remove_element()

2018-06-21 Thread Matthew Wilcox
On Thu, Jun 21, 2018 at 03:03:32PM +0800, Jia-Ju Bai wrote: > The argument "gfp_t flags" is not used in kasan_unpoison_element() > and remove_element(), so remove it. > > Signed-off-by: Jia-Ju Bai Reviewed-by: Matthew Wilcox

[PATCH] mm: mempool: Remove unused argument in kasan_unpoison_element() and remove_element()

2018-06-21 Thread Jia-Ju Bai
The argument "gfp_t flags" is not used in kasan_unpoison_element() and remove_element(), so remove it. Signed-off-by: Jia-Ju Bai --- mm/mempool.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/mempool.c b/mm/mempool.c index 5c9dce34719b..3076ab3f7bc4 100644