diff options
author | Alessandro Zanni <alessandro.zanni87@gmail.com> | 2024-09-24 23:46:10 +0200 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2024-10-25 15:59:19 +0200 |
commit | 74280c3d73143dcb976491fc085ccb0437cb5f0e (patch) | |
tree | 644ed4c40e42838354246b0580e40fc675729663 /drivers/soc | |
parent | soc: ti: knav_qmss_queue: Use IRQF_NO_AUTOEN flag in request_irq() (diff) | |
download | linux-74280c3d73143dcb976491fc085ccb0437cb5f0e.tar.xz linux-74280c3d73143dcb976491fc085ccb0437cb5f0e.zip |
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>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/ti/knav_qmss_queue.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c index c099f9e7f8c6..b4051cb932c4 100644 --- a/drivers/soc/ti/knav_qmss_queue.c +++ b/drivers/soc/ti/knav_qmss_queue.c @@ -722,7 +722,6 @@ static void kdesc_empty_pool(struct knav_pool *pool) if (!desc) { dev_dbg(pool->kdev->dev, "couldn't unmap desc, continuing\n"); - continue; } } WARN_ON(i != pool->num_desc); |