1
0
Fork 0

[PATCH] uml: move outside spinlock call not needing it

Move a call to kfree on a local variable out of a spinlock - there's no need
to have it in.  Done on a just merged patch.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hifive-unleashed-5.1
Paolo 'Blaisorblade' Giarrusso 2006-04-10 22:53:36 -07:00 committed by Linus Torvalds
parent ccea15f45e
commit e6fb54abb8
1 changed files with 1 additions and 1 deletions

View File

@ -304,8 +304,8 @@ out_clear_poll:
.size = 0,
.used = 0 });
out_free:
kfree(p);
sigio_unlock();
kfree(p);
out_close2:
close(l_sigio_private[0]);
close(l_sigio_private[1]);