From patchwork Sun Apr 1 06:22:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuval Shaia X-Patchwork-Id: 10319075 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 A628060116 for ; Sun, 1 Apr 2018 06:22:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 924F628ACE for ; Sun, 1 Apr 2018 06:22:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83C0728E89; Sun, 1 Apr 2018 06:22:40 +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, 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 0C7F028ACE for ; Sun, 1 Apr 2018 06:22:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751370AbeDAGWi (ORCPT ); Sun, 1 Apr 2018 02:22:38 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:33634 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751366AbeDAGWi (ORCPT ); Sun, 1 Apr 2018 02:22:38 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w316GVsX024511; Sun, 1 Apr 2018 06:22:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id; s=corp-2017-10-26; bh=dtxbV+0E7MlTO/H1ePvjoBO6nv43p8w0OXlLqDPcIWk=; b=gzL0+9hyPQOU4oMdjTOFZeWiTxoNraFUOomy1FMzAxNcyY7Ysz0gLPepVjeHWHpPD7Gr XpoZNb87k+sdzhC2ReyoMaosreBFz6O8TRlkcUn/KOmE5jIlhv0fPpY9RiVRatikD3f7 BbaL+mbcE28fu/CAOJ+l5IzCGF6Tp87hITi3eEAvmUIQcf56D5pNzl7/EoXf/4apaWHb jOlMOcoTT3KiEnoRdcGMz5eD27WSTFF5J9Rq/13kznMukt/GYGILPT5G+cpLox4rE52g obBAyISz11fNz1276pJ3tk4I1SnOKki9HO0rcSB+RBqnsvUrVXjSpjDVMMlyPfCnDUdz Rg== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2h2t0rg1cs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 01 Apr 2018 06:22:30 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w316MUne021256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 1 Apr 2018 06:22:30 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w316MTY0015732; Sun, 1 Apr 2018 06:22:29 GMT Received: from yuvallap.nl.oracle.com (/10.175.29.98) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 31 Mar 2018 23:22:28 -0700 From: Yuval Shaia To: dledford@redhat.com, jgg@mellanox.com, leonro@mellanox.com, valex@mellanox.com, erezsh@mellanox.com, ira.weiny@intel.com, dasaratharaman.chandramouli@intel.com, ferasda@mellanox.com, yuval.shaia@oracle.com, keescook@chromium.org, linux-rdma@vger.kernel.org Subject: [PATCH] IB/ipoib: Delete unused struct Date: Sun, 1 Apr 2018 09:22:18 +0300 Message-Id: <20180401062218.12858-1-yuval.shaia@oracle.com> X-Mailer: git-send-email 2.14.3 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8849 signatures=668697 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=768 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804010065 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 This structure is not needed since the introduction of commit 'c42687784b9a ("IB/ipoib: Scatter-Gather support in connected mode")' Signed-off-by: Yuval Shaia Reviewed-by: Leon Romanovsky Reviewed-by: Zhu Yanjun --- drivers/infiniband/ulp/ipoib/ipoib.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 8033a006277f..308e0ce49289 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -193,11 +193,6 @@ struct ipoib_tx_buf { u64 mapping[MAX_SKB_FRAGS + 1]; }; -struct ipoib_cm_tx_buf { - struct sk_buff *skb; - u64 mapping; -}; - struct ib_cm_id; struct ipoib_cm_data {