From patchwork Fri Jan 20 21:04:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9529459 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 9BC2560434 for ; Fri, 20 Jan 2017 21:21:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D436286D3 for ; Fri, 20 Jan 2017 21:21:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82274286D5; Fri, 20 Jan 2017 21:21: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.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 CBEAD286D4 for ; Fri, 20 Jan 2017 21:21:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752342AbdATVVO (ORCPT ); Fri, 20 Jan 2017 16:21:14 -0500 Received: from mail-by2nam03on0067.outbound.protection.outlook.com ([104.47.42.67]:2528 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752266AbdATVVL (ORCPT ); Fri, 20 Jan 2017 16:21:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fmUv+cfq/RX2nArUYpgq5LbVNd7jXgAP7wChd/YDJj4=; b=trOXR8LVMEAlL3YSKDY9m4iFuSq1E4oiMW5X+G/Azpea4dWnHS4SjS9of+hDoE0o2zixsXrA/WWpAih9ezqhTdvtnjQQLN8QT2FSqGNnThTUT2YupZ+LMePyFcn3LfLJhpx1rtw4XxzT2t1ECr/FymidSYB372CfQnUS9P9ofIk= Received: from BY1PR0201CA0042.namprd02.prod.outlook.com (10.160.191.180) by BY2PR02MB041.namprd02.prod.outlook.com (10.242.44.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 20 Jan 2017 21:04:45 +0000 Received: from BY2FFO11FD038.protection.gbl (2a01:111:f400:7c0c::153) by BY1PR0201CA0042.outlook.office365.com (2a01:111:e400:4814::52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Fri, 20 Jan 2017 21:04:45 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BY2FFO11FD038.mail.protection.outlook.com (10.1.14.223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Fri, 20 Jan 2017 21:04:45 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 76.B8.65426.CA872885; Fri, 20 Jan 2017 12:53:00 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 20 Jan 2017 13:04:40 -0800 X-AuditID: 0ac94369-b62949800001ff92-24-588278ac02c1 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id B9.33.16817.86B72885; Fri, 20 Jan 2017 13:04:40 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Bart Van Assche Subject: [PATCH v3 08/37] IB/core: Remove ib_dma_*map_single_attrs() Date: Fri, 20 Jan 2017 13:04:08 -0800 Message-ID: <20170120210437.26389-9-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170120210437.26389-1-bart.vanassche@sandisk.com> References: <20170120210437.26389-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrILMWRmVeSWpSXmKPExsXCddJ5ke6aiqYIgwtPFCxenv/AavHsUC+L A5PH+31X2Tw+b5ILYIrisklJzcksSy3St0vgyrj/+S9LwX+uiiVLOtgaGF9zdDFyckgImEic WjOJCcQWEljKJHHmLW8XIxeQvY1R4v/cuYxdjBxgRefXWELENzNKHD2ynhWkgU3ASOLb+5ks ILaIgJrEpleL2EFsZgE/iSknmsBsYQEXibVXvjCD2CwCqhIPtx1mA7F5BewlDsz4zQhxhLzE rraLYDM5BRwkPl3uY4Q4yF7i+OWn7CCLJQRes0j8WbiZEaJZUOLkzCcsEMskJA6+eMEM0aAu cXLJfKYJjEKzkJTNQlK2gJFpFaNYbmZOcW56aoGhqV5xYl5KZnG2XnJ+7iZGSMBm7mC8+8T7 EKMAB6MSD69CQFOEEGtiWXFl7iFGCQ5mJRHe15VAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rxu 976ECQmkJ5akZqemFqQWwWSZODilGhhjvy/sU+z0ND5uvXlrjPGzQ62188Ricp16Q9QfMS8/ bB5zgG+f+VHeLBPuvVXaTZUCvyoV1go6Mobfum98NSzPp5U9dErE7I+xKvytHscvK+pZarzt ON9cNe1Kcu+KAzF1zg+aNodaKQTE61QxbeprDy003Lp3f277uY28hh/vf1n1WkD9txJLcUai oRZzUXEiANHq0QtUAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIJMWRmVeSWpSXmKPExsXCtZEjRTejuinCoPmGosXBn22MFi/Pf2C1 eHaol8WB2eP9vqtsHtPWnGfy+LxJLoA5issmJTUnsyy1SN8ugSvj/ue/LAX/uSqWLOlga2B8 zdHFyMEhIWAicX6NZRcjF4eQwEZGiXf7rrB3MXJysAkYSXx7P5MFxBYRUJPY9GoRWJxZwE/i bMs7MFtYwEVi7ZUvzCA2i4CqxMNth9lAbF4Be4nOS7uZQGwJAXmJXW0XWUFsTgEHiU+X+xhB bCGgmuOXn7JPYORewMiwilEsNzOnODc9s8DQUK84MS8lszhbLzk/dxMj2NOckTsYn040P8TI xMEp1cCY2HD3T5VZ6I0UX966iKW/ci34K36HvNh8/4pos/zHFXONLj1NYLc6ODc4UmHPh5PR qhomz6Rco47bnfZ7JV344sOpnWtLWLV/zNARLL3ZlPeyxkf3zfHdr3/Y/b5x2PBslrHc9P3b Ne85X095tstzR7LO+WjhiKeH55Y/j9ac5593ucP1a+19JZbijERDLeai4kQA/vSj0qQBAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39860400002)(39450400003)(39850400002)(39840400002)(39410400002)(2980300002)(438002)(199003)(189002)(38730400001)(6916009)(107886002)(53936002)(77096006)(4001430100002)(68736007)(8936002)(50226002)(5003940100001)(189998001)(86362001)(6666003)(92566002)(47776003)(106466001)(2950100002)(356003)(305945005)(76176999)(8676002)(36756003)(4326007)(110136003)(69596002)(81166006)(50986999)(626004)(81156014)(2270400002)(54906002)(50466002)(48376002)(97736004)(33646002)(1076002)(2906002)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB041; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD038; 1:boqeEdZOI1/UFV4zcJRYqSSMX3/mJn0vUQc46feYmLAG1yv3DBOun0flqVfIwzPcmzG3/f42oKH3yr12RKNjgnVYQJmad32wrerkJwSsYbZC1whXXo6VodjeQnc1OxaE4gnjCSoqPqRfr+FZUpMqZSt/w6ADNReEQhsUDFpqXmH0hmTrmM/udBCIKzkXxDnghxMXO9m/L94kFp+I2dbtGqP6qB3312Bg2AZS5a+csQSQuEn1FJet1S+dxUoOw6Vw54IAh6WESaCTH0/3VPL1g8sNHyhcw/ZdpmoFbP6XEoJ6V2cdl+x7ygiB6Zcy2LcIZyaWkNoL3X6EHYQRVxst2cJtwknSIjz2xWc+1Guw5EGDuorrx02PAarayuNMqfZx4ebJCYQ0M2ojATkEbGKNvkSikl/8z9HU9KeELTHl9Fd4RwKGUPnCwIZMSbMvQJMtXSgADAqHVp7TdiuZvLKmc7U+XCRFak8KMmo6R517Q7qj34u1nmzCdZNmxuC+dciz X-MS-Office365-Filtering-Correlation-Id: 2ed2d516-c0f5-4e1c-8c44-08d44177f608 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB041; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB041; 3:lX3Tzk+KM/C8wJADfu4DqihPG82nah8fiFBxwDUyZUVyM1dWQ2mLcKhAXteVbPUZFs71/dEQ7qOvE8guERwM22ruFPss6gMFERRJ1/mpxxWXuds4fXUrWMOU8S+fnc2pcfKd1dSffZvoYuiL0oY+u0w88jn2Dq/5b71wvNeAq0MXxZaAXAsD6lBdYEQcCL8ZFIPULGxjvsYl2UB9PuGI6ImEFb0vqLJkUPp/wxI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MB041; 31:bdm1Gk1gqYwHmg2ZRab+EZt9tw5ZNoPfvCJrf8vrIL3mKGhYZEM6c29H7+JSB4C6DqPBKQ1am/3FECFmnqaBpBM0Uxr3JhGrNKqf8/4PiDjpY6duADkC0PpyAjDZwsr+5L27DzuHoxhyKaS/6PO6AytoQZ3tFXnnZrvT/+IHK56G1eOoCrM5N8XQqSW6BgyGKLAxgB26cywNze/PuXGjv7TiPnz7DxThF2Sbh3hsenmezloFefqm3QR54Gtyv5zOQoQBaP+tieFN0Kmkfpq3uQ==; 20:+wkX5mZjlVzhpHRHBgr1kDOvPEy5CHAjSn2ew7prJGvsVHk+Y78of5/mMVojC3MS2/rHkYdoLmj3fnZ0ZF7JknbaJEIkaLoQk3KBHDY8jWlM0wG+WJh4KW3f1eQfEOW5Okp3ZoMNaiWyyV7kfvRN+dOtbH6H4NtrIWXdDJ7JxbXCOB9ANndaVxkWbV8Do28QpVEan7Pyk2udlux1I8F8D/ukTmnjYhIOSehtzObonayaMzvEPa7aR1XnA+L4opoT93rd0UfV1kHHmq7YBF30oXwf0LJww3tdH7/QaFR3S11WJoZAvZaLoUDRJ3i2SShb31XphQWiS+W3glwKPa6gmPHi564OP7rfqYOuumzKVlkf5/EDqel8LTisKTGn+KvJlou+BJZwaeQ5NVhjCYYwW3UqYDYOVEAD5BD49V6nUXCqV2iZSHCXwlcldMN7vj3096EHvJwxlJlR8420CZkVtwplYHaD6qSA29VvpN/Wo+KXOFpnuu3SGgEL9BEX+3vr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:BY2PR02MB041; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB041; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB041; 4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QawkV+pPxR1XZsyavK43RzZpKi0et7fkL?= =?us-ascii?Q?FW0jQuSXMg/o5FoSJWUuWP26zKoIhQOKxi?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB041; 6:0KG44Rv4xYU6Vzv7lDmRETdVr2w8PoJLYFptgtlrAvYwR4w3sUiuELFgnqgukHUNujJmGo37pdfMd7hwRDrgcOhIpv+jaQZo9etHUWTvIzY4e+GcxQ2FKUjtlKcKdYlO2L4xWYwAb4NY3h4f7ELaPnmh7gSd5rD+oP5lgH9KBj5o8WhMwhIEk9ole0/fh8GSjn4oR80xSrh+9ENLRJmZ19lqpkKMha2bXayqslABaNHBv9/kO7tK4jiboT6TAsCEaEc4YbzMOSZ1/HQMfevPhl/TVm6IK7oVHc/ZHmEF9akNqscK+vstAO2rAYaLBBJNrbB+JFdZ9eTwviLYw2EU9mlR57iq1NELBJR7zWy2BhA3nA268IpUl1LFBX4XrIKuELnMeMsJotZVxc1BqW91LTY6uEZsy8w80RVM5n56ww5WUESrMdGUzzy/H06SD/OOJzFsa0JvMOhOFDZJ9v2ErA==; 5:1WrLlKvt/x8295NqtLMX9gOlAsNjFcdgHytAeQvkdmfxIJT5dR7Tx3tVxKob5rPJAoyfG7Q7x060Rb8z57s4kuly4eH5BhPhV1/U1KL74u0xaY05ebTbX/RrwDSa8os9tOCM3Pvd0XHLTuCmWUv3YA==; 24:/GMRB2uvZTc8zAPeufD00loE8Y4XsGQnkhnZnoYarxhnZQYjlWUZgAHu+HaDyA8EvO6O33LNCSQoF64gDo+Ct+uvvuFLpYOzvK2379QiQ9A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB041; 7:pyVN8VG5maBNK9817fLtncgB2zpHWRFbAuBFnhatkpZSHvEsvrCY23xgfaYUW3Hic6RkCPb2Y0N8wnLtu5x+jbxfcvOVDzdICHkEXflcqF+3E1qSnrrIYUAHmbulhVafUaqG4wOM5z4kPAUvze6CTTVVKK6JOZQmTYEGEmsAV3832yegfvNhEPa9XMb9iumWld1jTVcewqg3zPKbvVX/6v1sFyW0LWJPNeDUAUHEPZaSPftryzuj2fKSsZDEUEnqTIU6EhssZ9w1NNmvZxSjp5pqutTedENRB+Jd+J79r1pYJuCa9aK5Hl6ZWl3Ylt9IHVCWVWA3V+SiuH/yNmct+GOtOPgaAAgO6fECX77BH/D8xEj98h1jJF87nNQEhj5E7yrrwZgKjPazM9LjSjfS67cDmBXR0JelJy5qIGv1UaxrYIoEfhZdSExa2nsWR3bKZCzA/hdpCiLG897eGUJX+w== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 21:04:45.0439 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB041 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 Remove these functions because these are not used. Additionally, the implementation of these functions is not correct for the hfi1, qib and rxe drivers because dma_device is used instead of dma_ops. Signed-off-by: Bart Van Assche --- include/rdma/ib_verbs.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 958a24d8fae7..8b9a3767f695 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -3004,24 +3004,6 @@ static inline void ib_dma_unmap_single(struct ib_device *dev, dma_unmap_single(dev->dma_device, addr, size, direction); } -static inline u64 ib_dma_map_single_attrs(struct ib_device *dev, - void *cpu_addr, size_t size, - enum dma_data_direction direction, - unsigned long dma_attrs) -{ - return dma_map_single_attrs(dev->dma_device, cpu_addr, size, - direction, dma_attrs); -} - -static inline void ib_dma_unmap_single_attrs(struct ib_device *dev, - u64 addr, size_t size, - enum dma_data_direction direction, - unsigned long dma_attrs) -{ - return dma_unmap_single_attrs(dev->dma_device, addr, size, - direction, dma_attrs); -} - /** * ib_dma_map_page - Map a physical page to DMA address * @dev: The device for which the dma_addr is to be created