Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp211044pxj; Thu, 17 Jun 2021 00:39:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwG2b3eEIMjA+6xplbqMlomxH3qqzRVs83WsRghL+CkXRSen9m/rm0qbh1VvIKmj8207Uf5 X-Received: by 2002:a05:6602:2a43:: with SMTP id k3mr2762974iov.47.1623915543517; Thu, 17 Jun 2021 00:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623915543; cv=none; d=google.com; s=arc-20160816; b=ueL13ob7rG51FCT9xJY7NfRnY2DKZflbBejO9zUoxEfZb9N/MTzS+xetIfAG2EtINM 3ITcpm+DTXFppgR8lYK1Ti3kftf0lhnS0drXU0m58HUz8huDYSdZBlMk3RZgGdCUirst Yy4C0cSGjBNTr1oGKTuvSeG7MPzjEEuBUK3lvTsNATFd8KxJYAqETgdX6DkDEoB+HOvp UeIS7h5jiVuptG5lMKgW84rVjlG8cwjeNYfQtloxiu5vwUPWYxOhCB5BVDIxliC03lz0 B4dihXtdBZ1NYc+xMdHnPb/QhAqG9oeGVXjOJShR8mO0cspyEgVd1EwdSXCrvyolA5Md Uewg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=641vpnSG/rJvXJnA26l21idbP75wdZwB5SGUgebWC64=; b=sxY8Gk6+lxQNhJzzyV65gRMU61pTlNa1Pn//gXtowdeKaityNjWjbF4gGwZrCPfZB+ 3diZzR/LxfwpWICs1V+7sd+i6VvtPuHY+VUtCqFmlb2ohwQz1dC+nO8R2AQlef5dURDG a/0sYhxS9QFf7o9lniu+30MQpja1wOBkuWhWdaNZf9I+aIyHidti/ih6a5nT8rHmb3BE DeKl4af7QUvHYOInZ7lQ4N0jWBeqfAViJEzIErKzpHv90sUmBcrR/gKm+pca212Lf64T OLGoueX667zw4UBzvY6vE7bu3fH6bdMPxccR9KAt9PYPklU54o04IsXrc5hRPktK3sbw zuDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si1027249jat.53.2021.06.17.00.38.51; Thu, 17 Jun 2021 00:39:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbhFQHjz (ORCPT + 99 others); Thu, 17 Jun 2021 03:39:55 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:37487 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbhFQHjy (ORCPT ); Thu, 17 Jun 2021 03:39:54 -0400 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ltmat-0006O8-Tu; Thu, 17 Jun 2021 07:37:44 +0000 From: Colin King To: Nilesh Javali , Manish Rangankar , GR-QLogic-Storage-Upstream@marvell.com, "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: iscsi: remove redundant continue statement Date: Thu, 17 Jun 2021 08:37:43 +0100 Message-Id: <20210617073743.151008-1-colin.king@canonical.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King 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 --- drivers/scsi/qla4xxx/ql4_os.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 0e7a7e82e028..6ee7ea4c27e0 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -815,8 +815,6 @@ static int qla4xxx_get_chap_list(struct Scsi_Host *shost, uint16_t chap_tbl_idx, valid_chap_entries++; if (valid_chap_entries == *num_entries) break; - else - continue; } mutex_unlock(&ha->chap_sem); -- 2.31.1