Tag: bd0db8c7ad4b9a053e8774f559cb3dae05f73ef6

V4L/DVB: drivers/media/dvb/frontends: remove duplicate structure field initialization

Author: Julia Lawall <julia@diku.dk> The read_status field is initialized twice to the same value. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ identifier I, s, fld; position p0,p; expression E; @@ struct I s =@p0 { … .fld@p = E, …}; @s@ identifier I, s, r.fld; position r.p0,p; expression E; …

Continue reading