]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
dmaengine: fsldma: Remove chancnt affectations
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Oct 2014 09:00:56 +0000 (11:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Nov 2014 06:02:45 +0000 (11:32 +0530)
commit91f7f700146d217e23d088d8a220d59d52861982
tree08c212763042130f252205df6fe860db49b162aa
parentb2c100e02f666e6b4a73950e2a5badcdf744d4f1
dmaengine: fsldma: 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/fsldma.c