diff options
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | 2015-03-04 07:30:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-06 15:22:41 -0800 |
commit | a354e0d8d2ce4beb61097eeac6069b41c0797ed3 (patch) | |
tree | 49ee72d6a66734433741087842fc74c220b38b6c /drivers/staging/media | |
parent | 159dc4bff27a300d2c70108bf49ae01f6d1b34f2 (diff) | |
download | op-kernel-dev-a354e0d8d2ce4beb61097eeac6069b41c0797ed3.zip op-kernel-dev-a354e0d8d2ce4beb61097eeac6069b41c0797ed3.tar.gz |
staging: lustre: llite: remove extra parentheses around right bit shift operation
Removes extra parentheses around bitwise right shift operation.
The case handled here is when the resultant value is assigned to
a variable. 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
,...);
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media')
0 files changed, 0 insertions, 0 deletions