mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
debugobjects: Fill_pool() returns void now
There was a return missed in 1fda107d44
"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: Dan Carpenter <dan.carpenter@oracle.com>
Link: http://lkml.kernel.org/r/20120418112810.GA2669@elgon.mountain
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
765a5e0cb5
commit
3340808cf0
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ static void fill_pool(void)
|
|||
|
||||
new = kmem_cache_zalloc(obj_cache, gfp);
|
||||
if (!new)
|
||||
return obj_pool_free;
|
||||
return;
|
||||
|
||||
raw_spin_lock_irqsave(&pool_lock, flags);
|
||||
hlist_add_head(&new->node, &obj_pool);
|
||||
|
|
Loading…
Reference in a new issue