RDMA/core/sa_query: Remove unused argument
PATCH v2 1/1 RDMA/core/sa_query: Remove unused argument
Fixes 4c33bd1926cc ("IB/SA: Add support to query OPA path records")
Signed-off-by Håkon Bugge <[email protected]>
---
v1 -> v2:
* Fixed missing semicolon, as:
Reported-by kernel test robot <[email protected]>
--- drivers/infiniband/core/sa_query.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/infiniband/core/sa_query.c +2 -4
@@ -1444,8 +1444,7 @@ enum opa_pr_supported {*/ static int opa_pr_query_possible (struct ib_sa_client *client,struct ib_sa_device *sa_dev, -struct ib_device *device,u32 port_num, -struct sa_path_rec *rec) +struct ib_device *device,u32 port_num) {struct ib_port_attr port_attr;
@@ -1567,8 +1566,7 @@ int ib_sa_path_rec_get(struct ib_sa_client *client, query->sa_query.port = port;if (rec->rec_type ==SA_PATH_REC_TYPE_OPA ) { - status =opa_pr_query_possible (client, sa_dev, device, port_num, - rec); + status =opa_pr_query_possible (client, sa_dev, device, port_num);if (status ==PR_NOT_SUPPORTED ) { ret = -EINVAL ; goto err1;
Signature · 1 line
1.8.3.1
Quoted 10 lines · Håkon Bugge
Fixes 4c33bd1926cc ("IB/SA: Add support to query OPA path records")Signed-off-by Håkon Bugge <[email protected]>---
v1 -> v2:
* Fixed missing semicolon, as:Reported-by kernel test robot <[email protected]>--- drivers/infiniband/core/sa_query.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
Applied to for-next, thanks
Jason
Quoted 9 lines · Jason Gunthorpe
Quoted 4 lines · Håkon Bugge
Fixes 4c33bd1926cc ("IB/SA: Add support to query OPA path records")Signed-off-by Håkon Bugge <[email protected]>---
Quoted 8 lines
Quoted 6 lines
v1 -> v2:
* Fixed missing semicolon, as:Reported-by kernel test robot <[email protected]>---
drivers/infiniband/core/sa_query.c| 6 ++----1 file changed, 2 insertions(+), 4 deletions(-)Applied to for-next, thanks
Thanks for all of my commits you applied.
Håkon