summaryrefslogtreecommitdiffstats
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-07-08 10:30:57 +0530
committerVinod Koul <vinod.koul@intel.com>2016-07-23 16:07:27 +0530
commita03811045ee3c2be1d333fb2136d06f244302d46 (patch)
tree1cd876b69ac290bb17fb1ac378fe0ff6af7f709a /drivers/dma/imx-sdma.c
parent4cad91b2a9977c8d92f342c4a9b73cd9dbce8f21 (diff)
downloadlinux-0-day-a03811045ee3c2be1d333fb2136d06f244302d46.tar.gz
linux-0-day-a03811045ee3c2be1d333fb2136d06f244302d46.tar.xz
dmaengine: cppi: remove unused and bogus check
In cppi41_dma_prep_slave_sg() variable num is initialized to zero, but never updated and a BUG_ON is checked for it being greater than zero which will be always false. Remove the bogus check and this variable Reported-by: David Binderman <linuxdev.baldrick@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
0 files changed, 0 insertions, 0 deletions