diff options
| author | Julia Lawall <[email protected]> | 2012-07-15 05:25:22 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2012-07-30 21:48:05 -0300 |
| commit | 0208c15e5c639ff08b9767fee907a99bcc94b2f5 (patch) | |
| tree | 93b4cff07c990aa6cfc50698c3adffd0eedd234a /lib/dynamic_debug.c | |
| parent | 26ddcbcca3057125a0e5f3901b06439a20869640 (diff) | |
[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/)
// <smpl>
@@
struct list_head *pos;
struct list_head *head;
statement S;
@@
*for (pos = (head)->next; pos != (head); pos = pos->next)
S
// </smpl>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions