]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dma: of: Remove unnecessary list_empty check
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Mar 2013 13:24:22 +0000 (14:24 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 1 Apr 2013 17:15:52 +0000 (22:45 +0530)
commitad2aeec90521c4588f67695953dbe98930f03081
treebc6e77ad15bc9c6417af50984caefd409540f181
parent7362f04c2888b14c20f8aaa02e1a897025261768
dma: of: Remove unnecessary list_empty check

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 <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/of-dma.c