Commit 3340808c authored by Dan Carpenter's avatar Dan Carpenter Committed by Thomas Gleixner
Browse files

debugobjects: Fill_pool() returns void now

There was a return missed in 1fda107d

 "debugobjects: Remove unused
return value from fill_pool()".  It makes gcc complain:

	lib/debugobjects.c: In function ‘fill_pool’:
	lib/debugobjects.c:98:4: warning: ‘return’ with a value, in
		function returning void [enabled by default]
Signed-off-by: default avatarDan Carpenter <>

Signed-off-by: default avatarThomas Gleixner <>
parent 765a5e0c
......@@ -95,7 +95,7 @@ static void fill_pool(void)
new = kmem_cache_zalloc(obj_cache, gfp);
if (!new)
return obj_pool_free;
raw_spin_lock_irqsave(&pool_lock, flags);
hlist_add_head(&new->node, &obj_pool);
Supports Markdown
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