aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTobias Klauser <[email protected]>2010-05-25 17:00:08 +0200
committerGreg Kroah-Hartman <[email protected]>2010-06-04 13:37:18 -0700
commitfadf34f0f05ca5ea02ffcd89544cd372bbdb739b (patch)
tree741ccde7886e05a0e6b0d21fd144453124af78e8 /tools/perf/util/scripting-engines/trace-event-python.c
parentd8d721f4c005f9a69bd1b5d5c6ba99b7e1d464de (diff)
altera_uart: Simplify altera_uart_console_putc
The check for the TRDY flag after writing the character is not needed. Also do a cpu_relax() inside the loop. Pass a struct uart_port to altera_uart_console_putc, so we do not need to get it (and dereference pointers) for every character. Cc: Thomas Chou <[email protected]> Signed-off-by: Tobias Klauser <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions