[PATCH] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry

2012-07-15 Thread Julia Lawall
From: Julia Lawall Use list_for_each_entry and perform some other induced simplifications. The semantic match that finds the opportunity for this reorganization is as follows: (http://coccinelle.lip6.fr/) // @@ struct list_head *pos; struct list_head *head; statement S; @@ *for (pos =

[PATCH] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry

2012-07-15 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Use list_for_each_entry and perform some other induced simplifications. The semantic match that finds the opportunity for this reorganization is as follows: (http://coccinelle.lip6.fr/) // smpl @@ struct list_head *pos; struct list_head *head; statement