Message ID | 20190417214443.243152-6-bvanassche@acm.org (mailing list archive) |
---|---|
State | Mainlined |
Commit | 6eaa5f9448a7e0fb6bfecf17f47ce9f186d1e264 |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 610C117E0 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Apr 2019 21:45:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DC1B2867C for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Apr 2019 21:45:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4280B287C8; Wed, 17 Apr 2019 21:45:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB9412873E for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Apr 2019 21:45:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387626AbfDQVpC (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 17 Apr 2019 17:45:02 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:39695 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387920AbfDQVpA (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 17 Apr 2019 17:45:00 -0400 Received: by mail-pl1-f193.google.com with SMTP id a96so113907pla.6 for <linux-scsi@vger.kernel.org>; Wed, 17 Apr 2019 14:45:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tiqoKFdJXX9dSUq6uSa6Y4r+5PbLMXG+MMMoD5jRZ+w=; b=KsQCsJesyVSN2nfPWs1CUgI6SwMK+wLLMZK7Ajy+wBCtDl0U7qYj7+Sc2dsYEW6arq aunAHxfBlATNAI52bsCr/772GG9U13/pn4E5fo3pBlP8OvQBzH0RL+t9E5UweUkRNNZl H24mpd+4L1ugdhnSstrSfpXfjl/kx8P0cxxS8t3tGCL4xna+0hXHW2m8ANRjdn6HhHfc 8rRMOiyEGqKV5GljIqqRME0/u3rRDiaheouFIGVboySAMkYBPnZlbgQRp591Yor5i50W SFwvN/1NItwaTxt/FwOGdcuyXd6JawwTELTU6qIMW8mirPs835T0Q50ykOxMUPeyebtN sxSA== X-Gm-Message-State: APjAAAWYpJQKBqz+UpPX9gp1ZV+AnQ1oADkue/9f3zI0LDd43cL/GfJB a5lQtstpYWyUI8lQ734ZIwP6tRPF X-Google-Smtp-Source: APXvYqyq8fo06P/vQWcNJHJlKUxvP0eBl7/lvjYE+A41eAAMUnHacw1gD1b4qVHww/46RbD8pPAdGQ== X-Received: by 2002:a17:902:b78c:: with SMTP id e12mr39493368pls.29.1555537500243; Wed, 17 Apr 2019 14:45:00 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id d68sm219314pfg.16.2019.04.17.14.44.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 14:44:59 -0700 (PDT) From: Bart Van Assche <bvanassche@acm.org> To: "Martin K . Petersen" <martin.petersen@oracle.com>, "James E . J . Bottomley" <jejb@linux.vnet.ibm.com> Cc: linux-scsi@vger.kernel.org, Christoph Hellwig <hch@lst.de>, Bart Van Assche <bvanassche@acm.org>, Himanshu Madhani <hmadhani@marvell.com>, Giridhar Malavali <gmalavali@marvell.com> Subject: [PATCH 05/34] qla2xxx: Remove a set-but-not-used variable Date: Wed, 17 Apr 2019 14:44:14 -0700 Message-Id: <20190417214443.243152-6-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190417214443.243152-1-bvanassche@acm.org> References: <20190417214443.243152-1-bvanassche@acm.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
qla2xxx source code cleanup and bug fixes
|
expand
|
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 5ec975e110c5..e753ab35c6d2 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -3004,7 +3004,6 @@ qla2x00_ct_iocb(srb_t *sp, ms_iocb_entry_t *ct_iocb) scsi_qla_host_t *vha = sp->vha; struct qla_hw_data *ha = vha->hw; struct bsg_job *bsg_job = sp->u.bsg_job; - int loop_iterartion = 0; int entry_count = 1; memset(ct_iocb, 0, sizeof(ms_iocb_entry_t)); @@ -3062,7 +3061,6 @@ qla2x00_ct_iocb(srb_t *sp, ms_iocb_entry_t *ct_iocb) *cur_dsd++ = cpu_to_le32(LSD(sle_dma)); *cur_dsd++ = cpu_to_le32(MSD(sle_dma)); *cur_dsd++ = cpu_to_le32(sg_dma_len(sg)); - loop_iterartion++; avail_dsds--; } ct_iocb->entry_count = entry_count;
Cc: Himanshu Madhani <hmadhani@marvell.com> Cc: Giridhar Malavali <gmalavali@marvell.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> --- drivers/scsi/qla2xxx/qla_iocb.c | 2 -- 1 file changed, 2 deletions(-)