Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a0381104 authored by Vinod Koul's avatar Vinod Koul
Browse files

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: default avatarDavid Binderman <linuxdev.baldrick@gmail.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 4cad91b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment