aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2018-07-27 21:23:06 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-07-30 20:31:54 -0600
commit1ffba6264268e3a3f32f963ef3f44006ea9ebd35 (patch)
tree836ab6287bea3869d1c632d051ad2b44bc335a5c /drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c
parentRDMA/core: Check for verbs callbacks before using them (diff)
downloadlinux-dev-1ffba6264268e3a3f32f963ef3f44006ea9ebd35.tar.xz
linux-dev-1ffba6264268e3a3f32f963ef3f44006ea9ebd35.zip
RDMA/providers: Remove pointless functions
The rdma core is taking care of return the right error code when the rdma device callbacks aren't supported. Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Acked-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c')
-rw-r--r--drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c
index a0a82731ea24..dc0ce877c7a3 100644
--- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c
+++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c
@@ -52,13 +52,6 @@
#include "pvrdma.h"
-int pvrdma_post_srq_recv(struct ib_srq *ibsrq, const struct ib_recv_wr *wr,
- const struct ib_recv_wr **bad_wr)
-{
- /* No support for kernel clients. */
- return -EOPNOTSUPP;
-}
-
/**
* pvrdma_query_srq - query shared receive queue
* @ibsrq: the shared receive queue to query