From patchwork Wed Jan 17 13:52:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Gurtovoy X-Patchwork-Id: 10169315 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 A6AC0603B5 for ; Wed, 17 Jan 2018 13:53:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9740E251F4 for ; Wed, 17 Jan 2018 13:53:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C16528536; Wed, 17 Jan 2018 13:53:22 +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.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY 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 49167251F4 for ; Wed, 17 Jan 2018 13:53:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753015AbeAQNxQ (ORCPT ); Wed, 17 Jan 2018 08:53:16 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:41818 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752999AbeAQNxC (ORCPT ); Wed, 17 Jan 2018 08:53:02 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from maxg@mellanox.com) with ESMTPS (AES256-SHA encrypted); 17 Jan 2018 15:52:59 +0200 Received: from r-vnc08.mtr.labs.mlnx (r-vnc08.mtr.labs.mlnx [10.208.0.121]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w0HDqwxU021821; Wed, 17 Jan 2018 15:52:59 +0200 From: Max Gurtovoy To: jgg@mellanox.com, dledford@redhat.com, linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, sagi@grimberg.me, bart.vanassche@wdc.com, hch@lst.de Cc: danielm@mellanox.com, Max Gurtovoy Subject: [PATCH 3/4] iser-target: remove dead code Date: Wed, 17 Jan 2018 15:52:57 +0200 Message-Id: <1516197178-26493-4-git-send-email-maxg@mellanox.com> X-Mailer: git-send-email 1.7.8.2 In-Reply-To: <1516197178-26493-1-git-send-email-maxg@mellanox.com> References: <1516197178-26493-1-git-send-email-maxg@mellanox.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP IB_EVENT_QP_LAST_WQE_REACHED event can arrive only for QP associated with Shared Receive Queue (SRQ). There is no SRQ usage in iser target. Signed-off-by: Max Gurtovoy --- drivers/infiniband/ulp/isert/ib_isert.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index 720dfb3..bde22e1 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c @@ -81,9 +81,6 @@ case IB_EVENT_COMM_EST: rdma_notify(isert_conn->cm_id, IB_EVENT_COMM_EST); break; - case IB_EVENT_QP_LAST_WQE_REACHED: - isert_warn("Reached TX IB_EVENT_QP_LAST_WQE_REACHED\n"); - break; default: break; }