From: Jiri Slaby Date: Fri, 11 Nov 2011 09:47:23 +0000 (+0100) Subject: TTY: move debug checking out of tty_release X-Git-Tag: v3.3-rc1~154^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=955787ca94a17bdfd00e369a21ceb97aa21792fc;p=pandora-kernel.git TTY: move debug checking out of tty_release There is no need to taint the tty_release code with paranoia checking. So move it out of line to a separate function. Making thus tty_release more readable. [v2] don't introduce a hard to reproduce use after free (scheduled work would need to preempt the current thread) Signed-off-by: Jiri Slaby Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed