diff options
| author | 2019-03-27 22:09:30 +0530 | |
|---|---|---|
| committer | 2019-03-29 17:10:18 +0100 | |
| commit | 3589e74873a91b2d1ab4b902bc55cbebc0581317 (patch) | |
| tree | b04b3eb015109424b30cfb9740c937e6cfc2f4fc /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | staging: comedi: ni_tio: Use data[insn->n-1] in ni_tio_insn_write() (diff) | |
staging: rtl8192e: Remove unnecessary parentheses.
Challenge suggested by coccinelle.
Remove unnecessary parentheses around the right hand of
assignment using the below script.
@@
local idexpression id;
expression e;
@@
id =
-(
e
-)
@@ expression e, e1, e2,e3,e4; @@
e =
-(((e1) & (e2)) |
-(e3 << e4))
+(e1 & e2) |
+(e3 << e4)
Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
