aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2016-01-09 21:45:13 -0800
committerGreg Kroah-Hartman <[email protected]>2016-01-28 11:58:02 -0800
commitffb91a459c6cacb10972f5dff893fb1292bac85d (patch)
tree663966919757c58a0f737ad50f98594f7d93b081 /tools/perf/scripts/python/event_analyzing_sample.py
parent7bccc36544a8b4a7d768f8ccdd6001a52872aca9 (diff)
n_tty: Remove tty count checks from unthrottle
Since n_tty_check_unthrottle() is only called from n_tty_read() which only originates from a userspace read(), the tty count cannot be 0; the read() guarantees the file descriptor has not yet been released. Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions