dmaengine: bcm2835: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:00:54 +0000 (11:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:02:44 +0000 (11:32 +0530)
commit9eba5536a7434c69d8c185d4bd1c70734d92287d
tree21f5985fdce1671086f5273b900d4d5cabed6ee8
parent09573a89cfdadf72747dbfbf8f8b79becb2dd457
dmaengine: bcm2835: Remove chancnt affectations

chanctnt is already filled by dma_async_device_register, which uses the channel
list to know how much channels there is.

Since it's already filled, we can safely remove it from the drivers' probe
function.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/bcm2835-dma.c