summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/r8192U_core.c
diff options
context:
space:
mode:
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>2015-03-04 07:32:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-06 15:22:42 -0800
commit0c401c1dc9739580d758dfa88ec568897c2e2dfd (patch)
tree2baa3e6396240a17c797c4e8b9eb79f7feab384c /drivers/staging/rtl8192u/r8192U_core.c
parent07add2d38d48ca168b266c0f4f6af923bb9886e3 (diff)
downloadlinux-0c401c1dc9739580d758dfa88ec568897c2e2dfd.tar.bz2
staging: rtl8192e: remove extra parentheses around right bit shift operation
Removes extra parentheses around bitwise right shift operation. The cases handled are when the resultant value is assigned to a variable or when a shift operation is carried out for a function argument. The issues were 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 'drivers/staging/rtl8192u/r8192U_core.c')
0 files changed, 0 insertions, 0 deletions