]> asedeno.scripts.mit.edu Git - linux.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)
commita80287c8130552a837eb61e1ba14844bf2d03156
tree2978db557b6526cd447999a37cc5c9f6be10bb88
parent0ddf8f6267ecefc07dace11be8a9d258061c36e1
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: b038ced7b370 ("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