Commit d7c0557a authored by Erez Alfasi's avatar Erez Alfasi Committed by Jason Gunthorpe

IB/mlx4: Remove unused ibpd parameter

Remove unused ibpd parameter from create_qp_rss() function.
Signed-off-by: default avatarErez Alfasi <ereza@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent df8441c6
...@@ -725,7 +725,7 @@ static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx, ...@@ -725,7 +725,7 @@ static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx,
return 0; return 0;
} }
static int create_qp_rss(struct mlx4_ib_dev *dev, struct ib_pd *ibpd, static int create_qp_rss(struct mlx4_ib_dev *dev,
struct ib_qp_init_attr *init_attr, struct ib_qp_init_attr *init_attr,
struct mlx4_ib_create_qp_rss *ucmd, struct mlx4_ib_create_qp_rss *ucmd,
struct mlx4_ib_qp *qp) struct mlx4_ib_qp *qp)
...@@ -848,7 +848,7 @@ static struct ib_qp *_mlx4_ib_create_qp_rss(struct ib_pd *pd, ...@@ -848,7 +848,7 @@ static struct ib_qp *_mlx4_ib_create_qp_rss(struct ib_pd *pd,
qp->pri.vid = 0xFFFF; qp->pri.vid = 0xFFFF;
qp->alt.vid = 0xFFFF; qp->alt.vid = 0xFFFF;
err = create_qp_rss(to_mdev(pd->device), pd, init_attr, &ucmd, qp); err = create_qp_rss(to_mdev(pd->device), init_attr, &ucmd, qp);
if (err) { if (err) {
kfree(qp); kfree(qp);
return ERR_PTR(err); return ERR_PTR(err);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment