[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240924214612.38854-1-alessandro.zanni87@gmail.com>
Date: Tue, 24 Sep 2024 23:46:10 +0200
From: Alessandro Zanni <alessandro.zanni87@...il.com>
To: nm@...com,
ssantosh@...nel.org
Cc: Alessandro Zanni <alessandro.zanni87@...il.com>,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
skhan@...uxfoundation.org,
anupnewsmail@...il.com
Subject: [PATCH] soc: ti: knav_qmss_queue: remove useless statement
Remove the statement "continue" at the end of the loop
where it becomes useless.
Problem found with Coccinelle static analisys tool,
using continue.cocci script
(coccinelle.gitlabpages.inria.fr/website/rules/continue.cocci)
Signed-off-by: Alessandro Zanni <alessandro.zanni87@...il.com>
---
drivers/soc/ti/knav_qmss_queue.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c
index 6c98738e548a..1cc54905b398 100644
--- a/drivers/soc/ti/knav_qmss_queue.c
+++ b/drivers/soc/ti/knav_qmss_queue.c
@@ -723,7 +723,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);
--
2.43.0
Powered by blists - more mailing lists