projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c35169
)
mm/zsmalloc.c: remove useless line in obj_free()
author
Hui Zhu
<
[email protected]
>
Sat, 7 Nov 2015 00:29:35 +0000
(16:29 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sat, 7 Nov 2015 01:50:42 +0000
(17:50 -0800)
Signed-off-by: Hui Zhu <
[email protected]
>
Reviewed-by: Sergey Senozhatsky <
[email protected]
>
Cc: Minchan Kim <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/zsmalloc.c
patch
|
blob
|
history
diff --git
a/mm/zsmalloc.c
b/mm/zsmalloc.c
index fd0593e39bb4dda0e0c6147b47098d74a866ac13..a8ff24a296931b660c36a51ca6ec30702bb5dce3 100644
(file)
--- 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);