Lars-Peter Clausen 8552bb4f16 dma: of: Remove check on always true condition
Both of_dma_nbcells field of the of_dma_controller and the args_count field of
the dma_spec are initialized by parsing the #dma-cells attribute of their device
tree node. So if the device tree nodes of a DMA controller and the dma_spec
match this means that of_dma_nbcells and args_count will also match. So the
second test in the of_dma_find_controller loop is redundant because given the
first test yields true the second test will also yield true. So we can safely
remove the test whether of_dma_nbcells matches args_count. Since this was the
last user of the of_dma_nbcells field we can remove it altogether.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2013-06-12 07:49:19 +05:30
..
2013-05-17 14:31:05 -04:00
2013-05-04 12:31:18 -07:00
2013-05-07 19:46:02 -07:00
2013-04-29 15:40:23 -04:00
2013-05-02 09:03:55 -07:00
2013-05-10 14:37:17 +01:00
2013-05-01 16:36:22 +05:30
2013-05-07 18:38:27 -07:00
2013-04-29 18:28:40 -07:00
2013-05-01 16:28:48 -04:00
2013-05-07 02:16:31 -04:00
2013-05-06 13:07:33 +02:00
2013-04-30 17:04:06 -07:00
2013-04-30 17:04:00 -07:00
2013-04-29 18:28:44 -07:00
2013-05-04 14:47:26 -04:00
2013-05-07 11:22:14 -07:00
2013-04-29 15:54:28 -07:00
2013-04-29 15:54:28 -07:00
2013-04-30 15:50:12 +05:30
2013-04-29 15:54:37 -07:00