commit | 2079a513b0f03c8872322070944720d2c174b005 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sat Aug 23 20:33:23 2014 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Tue Aug 26 15:53:34 2014 +0300 |
tree | 53c10c81d356524971a714fed4099dba2979092c | |
parent | f57eda296dc327fc3f5d21099cf232bcd004237f [diff] |
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>