Skip to contentSkip to conversation

RDMA/core/sa_query: Remove unused argument

PATCH Applied Håkon Bugge 2 participants 3 messages Jun 25, 2021 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 RDMA/core/sa_query: Remove unused argument

Fixes 4c33bd1926cc ("IB/SA: Add support to query OPA path records")

---

v1 -> v2:
* Fixed missing semicolon, as:

---
 drivers/infiniband/core/sa_query.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/infiniband/core/sa_query.c +2 -4
index 8f1705c..fec2be5 100644
@@ -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
#2 lore raw
Quoted 9 lines · Jason Gunthorpe
Quoted 4 lines · Håkon Bugge
Fixes 4c33bd1926cc ("IB/SA: Add support to query OPA path records")

---

Quoted 8 lines
Quoted 6 lines

v1 -> v2:
* Fixed missing semicolon, as:

---
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