summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/vmw_pvrdma
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2018-06-27 19:26:11 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-06-28 00:08:49 +0300
commit4e1077f720f5fb54a295c8c2b5f73c09aac75fd9 (patch)
tree7e9813dd625bbc9dafd9fffeefc465f8ff9644fe /drivers/infiniband/hw/vmw_pvrdma
parent7a5c938b9ed0985ea09b821b4b7f12b5e3d88d5d (diff)
downloadlinux-4e1077f720f5fb54a295c8c2b5f73c09aac75fd9.tar.xz
RDMA/vmw_pvrdma: Delete unused function
This function is not in use - delete it. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Acked-by: Adit Ranadive <aditr@vmware.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma')
-rw-r--r--drivers/infiniband/hw/vmw_pvrdma/pvrdma.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h b/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
index 44cb1cfba417..42b8685c997e 100644
--- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
+++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
@@ -378,11 +378,6 @@ static inline enum ib_port_speed pvrdma_port_speed_to_ib(
return (enum ib_port_speed)speed;
}
-static inline int pvrdma_qp_attr_mask_to_ib(int attr_mask)
-{
- return attr_mask;
-}
-
static inline int ib_qp_attr_mask_to_pvrdma(int attr_mask)
{
return attr_mask & PVRDMA_MASK(PVRDMA_QP_ATTR_MASK_MAX);