diff options
| author | Stephen Boyd <[email protected]> | 2011-02-03 15:48:35 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2011-02-03 16:05:43 -0800 |
| commit | bf73bd35a296b31dace098b9104b6b593ee0070f (patch) | |
| tree | 266581a463e779ba26ef5b725508e2d4ced7b9c2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | a99632014631409483a481a6a0d77d09ded47239 (diff) | |
hvc_dcc: Simplify put_chars()/get_chars() loops
Casting and anding with 0xff is unnecessary in
hvc_dcc_put_chars() since buf is already a char[].
__dcc_get_char() can't return an int less than 0 since it only
returns a char. Simplify the if statement in hvc_dcc_get_chars()
to take this into account.
Cc: Daniel Walker <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions