OSDN Git Service

media: saa7164: remove redundant continue statement
authorColin Ian King <colin.king@canonical.com>
Fri, 18 Jun 2021 09:50:20 +0000 (11:50 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 12 Jul 2021 07:16:38 +0000 (09:16 +0200)
The continue statement at the end of a for-loop has no effect,
remove it.

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/saa7164/saa7164-cmd.c

index 7161620..a65d810 100644 (file)
@@ -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 */