summaryrefslogtreecommitdiff
path: root/drivers/dma/qcom
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-07-08 08:00:57 +0300
committerVinod Koul <vinod.koul@intel.com>2016-07-23 13:37:27 +0300
commita03811045ee3c2be1d333fb2136d06f244302d46 (patch)
tree1cd876b69ac290bb17fb1ac378fe0ff6af7f709a /drivers/dma/qcom
parent4cad91b2a9977c8d92f342c4a9b73cd9dbce8f21 (diff)
downloadlinux-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/qcom')
0 files changed, 0 insertions, 0 deletions