From patchwork Tue Dec 13 10:26:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jitendra Bhivare X-Patchwork-Id: 9472029 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 224D3607EE for ; Tue, 13 Dec 2016 10:27:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07DD52858C for ; Tue, 13 Dec 2016 10:27:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F114F2858E; Tue, 13 Dec 2016 10:27:03 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 7F9762858C for ; Tue, 13 Dec 2016 10:27:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753260AbcLMK1D (ORCPT ); Tue, 13 Dec 2016 05:27:03 -0500 Received: from mail-qk0-f181.google.com ([209.85.220.181]:33707 "EHLO mail-qk0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752175AbcLMK1C (ORCPT ); Tue, 13 Dec 2016 05:27:02 -0500 Received: by mail-qk0-f181.google.com with SMTP id x190so111548018qkb.0 for ; Tue, 13 Dec 2016 02:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kGQEcv0TW6N8wMC7A07A37yhv5FxtK/VjwvEzCF+YPA=; b=fVvmbA4+c1vw0k2s6xAEb/TwC98knQoBpw31KXE1aEzx1kDbFGwAsmhPtBxLjYhfeT mAEHcf0Fe16qijDur06uzZBCptxNEFFqX6Drq0atZbn5V4vsdDL9SdbBzvelvmPIk6AI eUNhBgbuednHe87nnVuwXlRrgvlL/fOBJZaGw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kGQEcv0TW6N8wMC7A07A37yhv5FxtK/VjwvEzCF+YPA=; b=k0Q/HaPWqMRIvoKVsN8vOHONhKv2nJKZwchEbEm+cueegvZdfoPXAGQIBk+gTR4wi0 PsCc0vmOWZVVQcBuco3YIk9u9ic83vEQzMoo2BNPlOKzIrVCxfYxCgfEK72OH3SoM7C+ S4UNS1yifzj+KgJ+Hq0817BjRIqIBwX7HCorhT2sONUHdJmVmdOFXT3MFdWz9PUyFToz /OHVD3+OCP3O0OMCm9lfGqIglUOqo5W0gasua4Uz+Q6aCdwvDldVqlcZWpbczcP1jDHn 4LsFcMrAWVvHe7s7PeY9XHwxFM08KLZVMAXfDN7UL0vGlYXpM5FYtt0xdSZCdILKgf93 O4hA== X-Gm-Message-State: AKaTC028tWV3CJLzKPkgT4ZndzdckNWtf9VjpocE1lNBrCGhWSHbrf5XaY+rUEMe7EhmJjEW X-Received: by 10.55.33.165 with SMTP id f37mr95685369qki.179.1481624821586; Tue, 13 Dec 2016 02:27:01 -0800 (PST) Received: from android.dhcp.avagotech.net ([192.19.239.250]) by smtp.gmail.com with ESMTPSA id t124sm28606864qke.3.2016.12.13.02.26.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Dec 2016 02:27:01 -0800 (PST) From: Jitendra Bhivare To: cleech@redhat.com, lduncan@suse.com Cc: linux-scsi@vger.kernel.org, Jitendra Bhivare Subject: [PATCH v2 07/13] be2iscsi: Remove redundant receive buffers posting Date: Tue, 13 Dec 2016 15:56:00 +0530 Message-Id: <1481624766-13846-8-git-send-email-jitendra.bhivare@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481624766-13846-1-git-send-email-jitendra.bhivare@broadcom.com> References: <1481624766-13846-1-git-send-email-jitendra.bhivare@broadcom.com> 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 This duplicate code got added during manual merging. Signed-off-by: Jitendra Bhivare Reviewed-by: Hannes Reinecke --- drivers/scsi/be2iscsi/be_main.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 1b5a07f..c6af6e5 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -3859,14 +3859,6 @@ static int hwi_init_port(struct beiscsi_hba *phba) phwi_ctrlr->wrb_context[cri].cid] = async_arr_idx++; } - /** - * Now that the default PDU rings have been created, - * let EP know about it. - */ - beiscsi_hdq_post_handles(phba, BEISCSI_DEFQ_HDR, - ulp_num); - beiscsi_hdq_post_handles(phba, BEISCSI_DEFQ_DATA, - ulp_num); } }