]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb3: Delete and properly mark unimplemented resize CQ function
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 20 May 2019 06:54:30 +0000 (09:54 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 27 May 2019 17:24:04 +0000 (14:24 -0300)
commitabd31a5294f9939a79a10559d3265789f970eb12
tree2978db557b6526cd447999a37cc5c9f6be10bb88
parentdbc7519a30d3bae6c51c13b259d63288a204b89f
RDMA/cxgb3: Delete and properly mark unimplemented resize CQ function

Resize CQ implementation was guarded by undeclared "notyet" define while
cxgb3 was added to the kernel. Twelve years later, this call is still
unimplemented, so safely delete it and fix improper return error code when
.resize_cq() is not implemented.

Fixes: 6d80a1676039 ("RDMA/cxgb3: Add driver for Chelsio T3 RNIC")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb3/cxio_hal.c
drivers/infiniband/hw/cxgb3/cxio_hal.h
drivers/infiniband/hw/cxgb3/iwch_provider.c