aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBhanusree Pola <[email protected]>2019-03-18 12:35:53 +0530
committerGreg Kroah-Hartman <[email protected]>2019-03-18 18:53:15 +0100
commitf680cf503abcd74695e0803ab1a189cfa075b65c (patch)
treec4ac74822940f619cd0fbdd2c09c001ea1f7f6fa /tools/perf/scripts/python/net_dropmonitor.py
parent043ad6b1c112b176b996508988d137493da2f105 (diff)
Staging: rtl8192e: Remove parentheses around the right hand side of assignments
Avoid useless parentheses to the right hand side of an assignment. Issue found using coccinelle. The semantic patch that fixes the problem is as follows // <smpl> @r1 disable paren@ expression value,e; @@ ( - value = (e) + value = e ) @r2 depends on r1@ expression value,e; constant c; @@ ( - value = (e == c) + value = (e == c) | - value = (e <= c) + value = (e <= c) | - value = (e >= c) + value = (e >= c) | - value = (e != c) + value = (e != c) ) // </smpl> Signed-off-by: Bhanusree Pola <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions