From patchwork Mon Dec 5 08:06:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jitendra Bhivare X-Patchwork-Id: 9460585 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 7D1FD6071F for ; Mon, 5 Dec 2016 08:07:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EA6120009 for ; Mon, 5 Dec 2016 08:07:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6342124DA2; Mon, 5 Dec 2016 08:07:23 +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 1827020009 for ; Mon, 5 Dec 2016 08:07:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751433AbcLEIHW (ORCPT ); Mon, 5 Dec 2016 03:07:22 -0500 Received: from mail-qt0-f180.google.com ([209.85.216.180]:34012 "EHLO mail-qt0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbcLEIHV (ORCPT ); Mon, 5 Dec 2016 03:07:21 -0500 Received: by mail-qt0-f180.google.com with SMTP id n6so307003918qtd.1 for ; Mon, 05 Dec 2016 00:07:21 -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=YjHZR9P9iCmgIA8DSy6jQHztaqsSf/Iq94jzY01tLYg=; b=GmrHdseETlnjPNfQ8avwnXJwPn3JGhqLBc4RJ5a+TPv/8rEGd6Xw06ipfWznCwWNM7 6UdR6rDooJOMqfDFdkvEee8djz76cWZAr5qvsa+UWF6MWU5OAt0psejbhOYVeibqRopw 2ed/9S+OeHjqj5eKY1ssLIPGakfQEDZBYDz9U= 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=YjHZR9P9iCmgIA8DSy6jQHztaqsSf/Iq94jzY01tLYg=; b=KDH84ZVVqvB9yF0gpM1DD0KAOLfK/Q8w/DWkl0Q18I9Y31cvh4meWoSEOqyeNgNod4 C9X6oWUXJGsYhC4zGJD/jSkkczfDLfiBFWaeuno/g9ltPeh9XIEH0u3rEapdThYLbTH9 0yINHDExTDLPB+RackHg4UwDEOdGl3hkZ590qwQwPfraimcb2mKmsCbx/6fL34P/oj3p BaLwYBqNLSYZDCj9ErEdO83dPFJHwB92DowgrySKhBaOc8rkJ3x7KX1+u89/DOv23C3r b1u/loNMSr8uW5fAU1g5bDdZRlODZYDrbXCqh0hJ8socczYgvv0fUwIfJE/sLrv0o/H2 QyAw== X-Gm-Message-State: AKaTC03ZYpSgjP8yRepoBfiZdDi0zvuq5oIlsFls/1Ci+kEDrkDEOZSoUEDmcQ7fXGNkCwf/ X-Received: by 10.200.53.172 with SMTP id k41mr50065424qtb.202.1480925240727; Mon, 05 Dec 2016 00:07:20 -0800 (PST) Received: from android.dhcp.avagotech.net ([192.19.239.250]) by smtp.gmail.com with ESMTPSA id i19sm8890519qte.8.2016.12.05.00.07.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Dec 2016 00:07:20 -0800 (PST) From: Jitendra Bhivare To: cleech@redhat.com, lduncan@suse.com Cc: linux-scsi@vger.kernel.org, Jitendra Bhivare Subject: [PATCH 07/12] be2iscsi: Remove redundant receive buffers posting Date: Mon, 5 Dec 2016 13:36:46 +0530 Message-Id: <1480925211-13223-8-git-send-email-jitendra.bhivare@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480925211-13223-1-git-send-email-jitendra.bhivare@broadcom.com> References: <1480925211-13223-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 --- 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 0fa24a3..9b8b79f 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -3855,14 +3855,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); } }