Re: [PATCH 0/7] drop unnecessary list_empty

2020-07-30 Thread Mark Brown
On Sun, 26 Jul 2020 12:58:25 +0200, Julia Lawall wrote: > The various list iterators are able to handle an empty list. > The only effect of avoiding the loop is not initializing some > index variables. > Drop list_empty tests in cases where these variables are not > used. > > The semantic patch th

[PATCH 0/7] drop unnecessary list_empty

2020-07-26 Thread Julia Lawall
The various list iterators are able to handle an empty list. The only effect of avoiding the loop is not initializing some index variables. Drop list_empty tests in cases where these variables are not used. The semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) @