commit | a03811045ee3c2be1d333fb2136d06f244302d46 | [log] [tgz] |
---|---|---|
author | Vinod Koul <vinod.koul@intel.com> | Fri Jul 08 10:30:57 2016 +0530 |
committer | Vinod Koul <vinod.koul@intel.com> | Sat Jul 23 16:07:27 2016 +0530 |
tree | 1cd876b69ac290bb17fb1ac378fe0ff6af7f709a | |
parent | 4cad91b2a9977c8d92f342c4a9b73cd9dbce8f21 [diff] |
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>