Skip to content

Commit

Permalink
[PATCH] uml: move outside spinlock call not needing it
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Apr 11, 2006
1 parent ccea15f commit e6fb54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/os-Linux/sigio.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ void write_sigio_workaround(void)
.size = 0,
.used = 0 });
out_free:
kfree(p);
sigio_unlock();
kfree(p);
out_close2:
close(l_sigio_private[0]);
close(l_sigio_private[1]);
Expand Down

0 comments on commit e6fb54a

Please sign in to comment.