[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210617114347.10247-1-colin.king@canonical.com>
Date: Thu, 17 Jun 2021 12:43:47 +0100
From: Colin King <colin.king@...onical.com>
To: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, target-devel@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] scsi: target/iscsi: remove redundant continue statement
From: Colin Ian King <colin.king@...onical.com>
The continue statement at the end of a loop has no effect,
remove it.
Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@...onical.com>
---
drivers/target/iscsi/iscsi_target_erl1.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/target/iscsi/iscsi_target_erl1.c b/drivers/target/iscsi/iscsi_target_erl1.c
index cd670cb9b8fb..0dd52f484fec 100644
--- a/drivers/target/iscsi/iscsi_target_erl1.c
+++ b/drivers/target/iscsi/iscsi_target_erl1.c
@@ -871,8 +871,6 @@ int iscsit_execute_ooo_cmdsns(struct iscsi_session *sess)
if (iscsit_execute_cmd(cmd, 1) < 0)
return -1;
-
- continue;
}
return ooo_count;
--
2.31.1
Powered by blists - more mailing lists