]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: sa11x0: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:01:00 +0000 (11:01 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:02:45 +0000 (11:32 +0530)
commit9aa7171157ef452517056e1368459d6f5b4636aa
treeb1c7a1254f6e8889e811abf0371467ad349bac4f
parent8c81bfbdb2bc52185500f6b16c14e56c0bb779fb
dmaengine: sa11x0: 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/sa11x0-dma.c