diff options
| author | Li Zhijian <lizhijian@fujitsu.com> | 2026-01-16 11:28:33 +0800 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-01-18 11:46:15 -0500 |
| commit | d3922f6dad69b3d1f7656c9035bd0e82f73091b7 (patch) | |
| tree | 9a153b5272f98639c8a8521d58238478a7d5bbf7 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 18ea78e2ae83d1d86a72d21d9511927e57e2c0e1 (diff) | |
RDMA/rxe: Remove unused page_offset member
In rxe_map_mr_sg(), the `page_offset` member of the `rxe_mr` struct
was initialized based on `ibmr.iova`, which will be updated inside
ib_sg_to_pages() later.
Consequently, the value assigned to `page_offset` was incorrect. However,
since `page_offset` was never utilized throughout the code, it can be safely
removed to clean up the codebase and avoid future confusion.
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Link: https://patch.msgid.link/20260116032833.2574627-1-lizhijian@fujitsu.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
