From: Hui Zhu Date: Sat, 7 Nov 2015 00:29:35 +0000 (-0800) Subject: mm/zsmalloc.c: remove useless line in obj_free() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f0b22760b7d8317569252cc7c36cbed22ebe401;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mm/zsmalloc.c: remove useless line in obj_free() Signed-off-by: Hui Zhu Reviewed-by: Sergey Senozhatsky Cc: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index fd0593e39bb4..a8ff24a29693 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -1429,8 +1429,6 @@ static void obj_free(struct zs_pool *pool, struct size_class *class, struct page *first_page, *f_page; unsigned long f_objidx, f_offset; void *vaddr; - int class_idx; - enum fullness_group fullness; BUG_ON(!obj); @@ -1438,7 +1436,6 @@ static void obj_free(struct zs_pool *pool, struct size_class *class, obj_to_location(obj, &f_page, &f_objidx); first_page = get_first_page(f_page); - get_zspage_mapping(first_page, &class_idx, &fullness); f_offset = obj_idx_to_offset(f_page, f_objidx, class->size); vaddr = kmap_atomic(f_page);