From: Julia Lawall Date: Sun, 15 Jul 2012 08:25:22 +0000 (-0300) Subject: [media] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry X-Git-Tag: v3.6-rc1~28^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0208c15e5c639ff08b9767fee907a99bcc94b2f5;p=pandora-kernel.git [media] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry 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 = (head)->next; pos != (head); pos = pos->next) S // Signed-off-by: Julia Lawall Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed