mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
RDMA/core: Remove never used ib_modify_wq function call
The function ib_modify_wq() is not used, so remove it. Link: https://lore.kernel.org/r/c5e48d517b9163fe4f9ffd224050b83fdb3571c6.1620552935.git.leonro@nvidia.com Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
parent
74ec242473
commit
16149eddd3
@ -2445,27 +2445,6 @@ int ib_destroy_wq_user(struct ib_wq *wq, struct ib_udata *udata)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(ib_destroy_wq_user);
|
EXPORT_SYMBOL(ib_destroy_wq_user);
|
||||||
|
|
||||||
/**
|
|
||||||
* ib_modify_wq - Modifies the specified WQ.
|
|
||||||
* @wq: The WQ to modify.
|
|
||||||
* @wq_attr: On input, specifies the WQ attributes to modify.
|
|
||||||
* @wq_attr_mask: A bit-mask used to specify which attributes of the WQ
|
|
||||||
* are being modified.
|
|
||||||
* On output, the current values of selected WQ attributes are returned.
|
|
||||||
*/
|
|
||||||
int ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr,
|
|
||||||
u32 wq_attr_mask)
|
|
||||||
{
|
|
||||||
int err;
|
|
||||||
|
|
||||||
if (!wq->device->ops.modify_wq)
|
|
||||||
return -EOPNOTSUPP;
|
|
||||||
|
|
||||||
err = wq->device->ops.modify_wq(wq, wq_attr, wq_attr_mask, NULL);
|
|
||||||
return err;
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL(ib_modify_wq);
|
|
||||||
|
|
||||||
int ib_check_mr_status(struct ib_mr *mr, u32 check_mask,
|
int ib_check_mr_status(struct ib_mr *mr, u32 check_mask,
|
||||||
struct ib_mr_status *mr_status)
|
struct ib_mr_status *mr_status)
|
||||||
{
|
{
|
||||||
|
@ -4286,8 +4286,6 @@ struct net_device *ib_device_netdev(struct ib_device *dev, u32 port);
|
|||||||
struct ib_wq *ib_create_wq(struct ib_pd *pd,
|
struct ib_wq *ib_create_wq(struct ib_pd *pd,
|
||||||
struct ib_wq_init_attr *init_attr);
|
struct ib_wq_init_attr *init_attr);
|
||||||
int ib_destroy_wq_user(struct ib_wq *wq, struct ib_udata *udata);
|
int ib_destroy_wq_user(struct ib_wq *wq, struct ib_udata *udata);
|
||||||
int ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *attr,
|
|
||||||
u32 wq_attr_mask);
|
|
||||||
|
|
||||||
int ib_map_mr_sg(struct ib_mr *mr, struct scatterlist *sg, int sg_nents,
|
int ib_map_mr_sg(struct ib_mr *mr, struct scatterlist *sg, int sg_nents,
|
||||||
unsigned int *sg_offset, unsigned int page_size);
|
unsigned int *sg_offset, unsigned int page_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user