Re: [PATCH] dma: of: Remove unnecessary list_empty check

2013-03-29 Thread Vinod Koul
On Mon, Mar 25, 2013 at 02:24:22PM +0100, Lars-Peter Clausen wrote: > list_for_each_entry is able to handle empty lists just fine, there is no need > to make sure that the list is non empty. > > Signed-off-by: Lars-Peter Clausen Applied thanks > --- > drivers/dma/of-dma.c | 5 - > 1 file cha

[PATCH] dma: of: Remove unnecessary list_empty check

2013-03-25 Thread Lars-Peter Clausen
list_for_each_entry is able to handle empty lists just fine, there is no need to make sure that the list is non empty. Signed-off-by: Lars-Peter Clausen --- drivers/dma/of-dma.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index 7cad4d7..667