diff mbox

RDMA/vmw_pvrdma: Delete unused function

Message ID 20180627162611.10095-1-yuval.shaia@oracle.com (mailing list archive)
State Accepted
Delegated to: Jason Gunthorpe
Headers show

Commit Message

Yuval Shaia June 27, 2018, 4:26 p.m. UTC
This function is not in use - delete it.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
---
 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h | 5 -----
 1 file changed, 5 deletions(-)

Comments

Adit Ranadive June 27, 2018, 8:33 p.m. UTC | #1
On 6/27/18, 9:26 AM,  Yuval Shaia <yuval.shaia@oracle.com> wrote:
> This function is not in use - delete it.

>

> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>

> ---

> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h | 5 -----

> 1 file changed, 5 deletions(-)


Thanks!
Acked-by: Adit Ranadive <aditr@vmware.com>
Jason Gunthorpe June 27, 2018, 9:10 p.m. UTC | #2
On Wed, Jun 27, 2018 at 07:26:11PM +0300, Yuval Shaia wrote:
> This function is not in use - delete it.
> 
> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
> Acked-by: Adit Ranadive <aditr@vmware.com>
> ---
>  drivers/infiniband/hw/vmw_pvrdma/pvrdma.h | 5 -----
>  1 file changed, 5 deletions(-)

Applied to for-next, thanks

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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);