diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2011-11-11 13:47:23 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-16 03:52:47 +0400 |
| commit | 955787ca94a17bdfd00e369a21ceb97aa21792fc (patch) | |
| tree | 16bd8e8a7c154be15dcb0c7375c4c8c2c7c019c9 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 2cd0050cf3ec4da847c3a2f7d95cffd548aef39d (diff) | |
| download | linux-955787ca94a17bdfd00e369a21ceb97aa21792fc.tar.xz | |
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 <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
