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