diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2018-07-27 20:23:06 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-31 04:31:54 +0200 |
commit | 1ffba6264268e3a3f32f963ef3f44006ea9ebd35 (patch) | |
tree | 836ab6287bea3869d1c632d051ad2b44bc335a5c /drivers/infiniband/hw/cxgb4/cq.c | |
parent | RDMA/core: Check for verbs callbacks before using them (diff) | |
download | linux-1ffba6264268e3a3f32f963ef3f44006ea9ebd35.tar.xz linux-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/cxgb4/cq.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cq.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cq.c b/drivers/infiniband/hw/cxgb4/cq.c index d266c8d0bf94..0c13f2838c84 100644 --- a/drivers/infiniband/hw/cxgb4/cq.c +++ b/drivers/infiniband/hw/cxgb4/cq.c @@ -1140,11 +1140,6 @@ err_free_chp: return ERR_PTR(ret); } -int c4iw_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata) -{ - return -ENOSYS; -} - int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) { struct c4iw_cq *chp; |