soc: ti: knav_qmss_queue: remove useless statement
PATCH 1/1 soc: ti: knav_qmss_queue: remove useless statement
Remove the statement "continue" at the end of the loop where it becomes useless.
Signed-off-by Alessandro Zanni <[email protected]>
--- drivers/soc/ti/knav_qmss_queue.c | 1 - 1 file changed, 1 deletion(-)
drivers/soc/ti/knav_qmss_queue.c +0 -1
@@ -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);
Signature · 1 line
2.43.0
Quoted 2 lines · Alessandro Zanni
Remove the statement "continue" at the end of the loop where it becomes useless.
How did you find the problem? Change log should say how you found it.
Quoted 11 lines
Signed-off-by Alessandro Zanni <[email protected]>--- drivers/soc/ti/knav_qmss_queue.c | 1 - 1 file changed, 1 deletion(-)drivers/soc/ti/knav_qmss_queue.c +0
-0
drivers/soc/ti/knav_qmss_queue.c static void kdesc_empty_pool(struct knav_pool *pool) · line 728
Quoted 7 lines
drivers/soc/ti/knav_qmss_queue.c +0
-1@@ -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);
thanks,
-- Shuah