diff options
author | 2014-08-23 20:33:23 +0200 | |
---|---|---|
committer | 2014-08-26 15:53:34 +0300 | |
commit | 2079a513b0f03c8872322070944720d2c174b005 (patch) | |
tree | 53c10c81d356524971a714fed4099dba2979092c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | video: fbdev: riva: delete double assignment (diff) | |
download | wireguard-linux-2079a513b0f03c8872322070944720d2c174b005.tar.xz wireguard-linux-2079a513b0f03c8872322070944720d2c174b005.zip |
video: fbdev: intelfb: delete double assignment
Delete successive assignments to the same location.
In the second case, = is converted to |=, which looks appropriate based on
the values involved.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
expression i;
@@
*i = ...;
i = ...;
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions