]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
rds: ib: Remove unused extern definition
authorHåkon Bugge <haakon.bugge@oracle.com>
Fri, 5 Sep 2025 10:19:57 +0000 (12:19 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Sep 2025 01:16:49 +0000 (18:16 -0700)
In the old days, RDS used FMR (Fast Memory Registration) to register
IB MRs to be used by RDMA. A newer and better verbs based
registration/de-registration method called FRWR (Fast Registration
Work Request) was added to RDS by commit 1659185fb4d0 ("RDS: IB:
Support Fastreg MR (FRMR) memory registration mode") in 2016.

Detection and enablement of FRWR was done in commit 2cb2912d6563
("RDS: IB: add Fastreg MR (FRMR) detection support"). But said commit
added an extern bool prefer_frmr, which was not used by said commit -
nor used by later commits. Hence, remove it.

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Link: https://patch.msgid.link/20250905101958.4028647-1-haakon.bugge@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rds/ib_mr.h

index ea5e9aee4959e205f174c426f764560f28fa169c..5884de8c6f45bcc7a72e5fbc05843bb96da9c451 100644 (file)
@@ -108,7 +108,6 @@ struct rds_ib_mr_pool {
 };
 
 extern struct workqueue_struct *rds_ib_mr_wq;
-extern bool prefer_frmr;
 
 struct rds_ib_mr_pool *rds_ib_create_mr_pool(struct rds_ib_device *rds_dev,
                                             int npages);