Commit 6b70f7df authored by Joonsoo Kim's avatar Joonsoo Kim Committed by Linus Torvalds
Browse files

mm, vmalloc: remove useless variable in vmap_block

vbq in vmap_block isn't used. So remove it.
Signed-off-by: default avatarJoonsoo Kim <>
Reviewed-by: default avatarWanpeng Li <>
Acked-by: default avatarJohannes Weiner <>
Acked-by: default avatarZhang Yanfei <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent fbc2edb0
......@@ -752,7 +752,6 @@ struct vmap_block_queue {
struct vmap_block {
spinlock_t lock;
struct vmap_area *va;
struct vmap_block_queue *vbq;
unsigned long free, dirty;
struct list_head free_list;
......@@ -830,7 +829,6 @@ static struct vmap_block *new_vmap_block(gfp_t gfp_mask)
vbq = &get_cpu_var(vmap_block_queue);
vb->vbq = vbq;
list_add_rcu(&vb->free_list, &vbq->free);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment