summaryrefslogtreecommitdiff
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>2015-03-04 05:34:52 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-06 23:22:43 (GMT)
commita659b3e807a9e0a3f4b48ffbd491dbcab8e7d1d6 (patch)
tree560ffef73c5015c027f91432f669fdde44abac8f /sound/pci/hda
parente1bc88f1d94f1b34ef0ae27d3c6801a6fdac1f60 (diff)
downloadlinux-a659b3e807a9e0a3f4b48ffbd491dbcab8e7d1d6.tar.xz
staging: slicoss: remove extra parentheses around right bit shift operations
Removes extra parentheses around bitwise right shift operations. The cases handled here are when resultant values are assigned to variables. The issue was detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ e = -(e1 +e1 >> -c); +c; @@ identifier i; constant c; type t; expression e; @@ t i = -(e +e >> -c); +c; @@ expression e, e1; identifier f; constant c; @@ e1 = f(..., -(e +e >> -c) +c ,...); Some coding style issues were handled manually to avoid checkpatch warnings and errors. Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/hda')
0 files changed, 0 insertions, 0 deletions