From: Eric W. Biederman Date: Tue, 8 May 2007 07:26:53 +0000 (-0700) Subject: tty: simplify calling of put_pid. X-Git-Tag: v2.6.22-rc1~726 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a65f1d9fe78475720bd8f0e0fbbf1973b1b5ac2;p=pandora-kernel.git tty: simplify calling of put_pid. This patch should contain no functional changes. At some point I got confused and thought put_pid could not be called while a spin lock was held. While it may be nice to avoid that to reduce lock hold times put_pid can be safely called while we hold a spin lock. This patch removes all of the complications from the code introduced by my misunderstanding, making the code a little more readable. Signed-off-by: Eric W. Biederman Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed