aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/rdma/ib_umem.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-13 08:32:14 +0100
committerJason Gunthorpe <jgg@mellanox.com>2019-11-17 10:37:00 -0400
commit72b894b09a96b741c92562709f6629310f2b34a1 (patch)
tree560772e42f397d1f77b1edfce6ff27b4efef5509 /include/rdma/ib_umem.h
parentdma-mapping: remove the DMA_ATTR_WRITE_BARRIER flag (diff)
downloadwireguard-linux-72b894b09a96b741c92562709f6629310f2b34a1.tar.xz
wireguard-linux-72b894b09a96b741c92562709f6629310f2b34a1.zip
IB/umem: remove the dmasync argument to ib_umem_get
The argument is always ignored, so remove it. Link: https://lore.kernel.org/r/20191113073214.9514-3-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Acked-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_umem.h')
-rw-r--r--include/rdma/ib_umem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rdma/ib_umem.h b/include/rdma/ib_umem.h
index a91b2af64ec4..753f54e17e0a 100644
--- a/include/rdma/ib_umem.h
+++ b/include/rdma/ib_umem.h
@@ -70,7 +70,7 @@ static inline size_t ib_umem_num_pages(struct ib_umem *umem)
#ifdef CONFIG_INFINIBAND_USER_MEM
struct ib_umem *ib_umem_get(struct ib_udata *udata, unsigned long addr,
- size_t size, int access, int dmasync);
+ size_t size, int access);
void ib_umem_release(struct ib_umem *umem);
int ib_umem_page_count(struct ib_umem *umem);
int ib_umem_copy_from(void *dst, struct ib_umem *umem, size_t offset,
@@ -85,7 +85,7 @@ unsigned long ib_umem_find_best_pgsz(struct ib_umem *umem,
static inline struct ib_umem *ib_umem_get(struct ib_udata *udata,
unsigned long addr, size_t size,
- int access, int dmasync)
+ int access)
{
return ERR_PTR(-EINVAL);
}