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, 15 Apr 2013 04:22:04 +0000 (09:52 +0530)
commitaf31826d9b1ce432e033f0e91529aa1013076482
treea9f80e9c668e64e9a3b8bf0154656de2e880e143
parent9a188eb126aa7bf27077ee46fcb914898d6fc281
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