summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2011-02-04 00:48:35 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-04 01:05:43 +0100
commitbf73bd35a296b31dace098b9104b6b593ee0070f (patch)
tree266581a463e779ba26ef5b725508e2d4ced7b9c2 /sound
parenthvc_dcc: Fix bad code generation by marking assembly volatile (diff)
downloadlinux-bf73bd35a296b31dace098b9104b6b593ee0070f.tar.xz
linux-bf73bd35a296b31dace098b9104b6b593ee0070f.zip
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 <dwalker@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions