Skip to contentSkip to conversation

media: saa7164: remove redundant continue statement

PATCH New Colin King 1 participant 1 message Jun 18, 2021

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 media: saa7164: remove redundant continue statement

From: Colin Ian King <[email protected]>

The continue statement at the end of a for-loop has no effect, remove it.

Addresses-Coverity: ("Continue has no effect")

---
 drivers/media/pci/saa7164/saa7164-cmd.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/media/pci/saa7164/saa7164-cmd.c +0 -3
index 716162055fb7..a65d810ce212 100644
@@ -549,9 +549,6 @@ int saa7164_cmd_send(struct saa7164_dev *dev, u8 id, enum tmComResCmd command,
 		/* See of other commands are on the bus */
 		if (saa7164_cmd_dequeue(dev) != SAA_OK)
 			printk(KERN_ERR "dequeue(3) failed\n");
-
-		continue;
-
 	} /* (loop) */
 
 	/* Release the sequence number allocation */
Signature · 1 line
2.31.1