aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2013-06-15 09:14:22 -0400
committerGreg Kroah-Hartman <[email protected]>2013-07-23 16:43:00 -0700
commita2f73be8ee36e48f11f89ab705beb3c587a2f320 (patch)
tree1612dd60ae378dfb1369001c2eed60265797f1c0 /tools/perf/scripts/python
parentbc5a5e3f45d047844830233fb95b19a95c864a0f (diff)
n_tty: Remove read_cnt
Storing the read_cnt creates an unnecessary shared variable between the single-producer (n_tty_receive_buf()) and the single-consumer (n_tty_read()). Compute read_cnt from head & tail instead of storing. Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions