]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: jz4740: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:00:55 +0000 (11:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:02:44 +0000 (11:32 +0530)
commitc02bf9e1545da0712bf19341b7ff7e030a91aafd
tree425d37f3c3356bfb58b1e3f9d9b04b4e28b17318
parentd24dacdf025abe29abf1591d071e93579144893b
dmaengine: jz4740: 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/dma-jz4740.c