Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

soc: ti: knav_qmss_queue: Drop redundant continue statement

Remove the statement "continue" at the end of the loop
where it becomes useless.

Problem found with Coccinelle static analysis tool,
using continue.cocci script
(coccinelle.gitlabpages.inria.fr/website/rules/continue.cocci)

Signed-off-by: Alessandro Zanni <alessandro.zanni87@gmail.com>
Link: https://lore.kernel.org/r/20240924214612.38854-1-alessandro.zanni87@gmail.com
Signed-off-by: Nishanth Menon <nm@ti.com>

authored by

Alessandro Zanni and committed by
Nishanth Menon
74280c3d 10b8a0cc

-1
-1
drivers/soc/ti/knav_qmss_queue.c
··· 722 722 if (!desc) { 723 723 dev_dbg(pool->kdev->dev, 724 724 "couldn't unmap desc, continuing\n"); 725 - continue; 726 725 } 727 726 } 728 727 WARN_ON(i != pool->num_desc);