From patchwork Tue May 7 15:39:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enzo Matsumiya X-Patchwork-Id: 10933187 Return-Path: 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 91790112C for ; Tue, 7 May 2019 15:39:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8171F28869 for ; Tue, 7 May 2019 15:39:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75A8E288AF; Tue, 7 May 2019 15:39:13 +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 8383E28869 for ; Tue, 7 May 2019 15:39:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726823AbfEGPjL (ORCPT ); Tue, 7 May 2019 11:39:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:36104 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726197AbfEGPjL (ORCPT ); Tue, 7 May 2019 11:39:11 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 2B821AC8A for ; Tue, 7 May 2019 15:39:09 +0000 (UTC) To: linux-scsi@vger.kernel.org From: Enzo Matsumiya Openpgp: preference=signencrypt Autocrypt: addr=ematsumiya@suse.de; keydata= mQINBF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F9dNOCaaGOaMccArLrfMj1HeVD6EiX1c8go7SVZpmowARAQABiQIfBBgBAgAJ BQJcFud5AhsMAAoJEGNqtMTAcRBs1aUQAIoB8vyrMxq0FYu70WmCSZ5mo7f7Q8FHHjfguBgJ Aj24c6FaEKJ7tj+PshSzDWWRP4BwpP92Up1KEukOw3Mt2/HBnxuIcZsBJfNEax80JcaMcSbs Wke7S6eV4eid4udH7duOTxFD/1nQCb9VXQBiraOcwq3qwxTOJkgl+xpJ7ytHzMJMOMWmhlOC 3XUfyGkNq4X7SuqSpLy6j5LoTVvERw2eG3U+FEH71R5ed88TuE0Rjd4+p4PJEsKkmoUosX6I b5wnPoNuu7OHqg+keUVAPiI/g0DQiOm/HDcGH3MXRQU1GeRsWKMixnHEevFc1MElKDpO2Xhi /qe6UFCX7U6ZujoZ3MSOfBjdmw7tNPJVG6AS/pSK9Iqzvq4dEbib7psleZWxAcGkOh+ilJ0Z Lv37ypoESE6dtmUFno5i6jhMxj37PcdgHXtms2P0S0qy5hOJ61JKnEhHlBXZrl8T60BKoM5Z gICWMKoZ+9FpQv7emYGJbDWUi0E/vfeAC18NSCwGS7UAU1FGSb3JbmOiQojgnE5cpIhaOB0m Vi2gl+ppt7sEsYTl+iqUQeotPD2Avp64vQbjw2iRnHwWX0R4rQlgv7X+pJgR/e12O8wXIQsj sj7jHxu+hePpqIqqn16CVN1Ks8BePLpNVqpBAef6M4cD2TsaLfSz1Nui9IoPEvXX2qgD Subject: [PATCH] qla2xxx: remove double assignment in qla2x00_update_fcport Message-ID: Date: Tue, 7 May 2019 12:39:05 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 Content-Language: en-US Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove double assignment in qla2x00_update_fcport(). Signed-off-by: Enzo Matsumiya Acked-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_init.c | 1 - 1 file changed, 1 deletion(-) switch (vha->hw->current_topology) { -- 2.12.3 diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 0c700b140ce7..18078e215466 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -5237,7 +5237,6 @@ qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport) fcport->flags &= ~(FCF_LOGIN_NEEDED | FCF_ASYNC_SENT); fcport->deleted = 0; fcport->logout_on_delete = 1; - fcport->login_retry = vha->hw->login_retry_count; fcport->n2n_chip_reset = fcport->n2n_link_reset_cnt = 0;