RDMA/umem: Remove unused 'work' member from struct ib_umem
Jason Gunthorpe
maintainerPATCH 1/1 RDMA/umem: Remove unused 'work' member from struct ib_umem
It is not used now.
Fixes b95df5e3e459 ("drivers/IB,core: reduce scope of mmap_sem")
Signed-off-by Jason Gunthorpe <[email protected]>
--- include/rdma/ib_umem.h | 1 - 1 file changed, 1 deletion(-)
include/rdma/ib_umem.h +0 -1
@@ -25,7 +25,6 @@ struct ib_umem { u32 writable : 1; u32 is_odp : 1; u32 is_dmabuf : 1; -struct work_struct work;struct sg_append_table sgt_append; };
base-commit: 627122280c878cf5d3cda2d2c5a0a8f6a7e35cb7
Signature · 1 line
2.39.1
Quoted 24 lines
-----Original Message-----
From: Jason Gunthorpe <[email protected]>
Sent: Thursday, February 9, 2023 10:22 PM
To: Leon Romanovsky <[email protected]>; [email protected]
Cc: Davidlohr Bueso <[email protected]>; Ira Weiny <[email protected]>
Subject: [PATCH] RDMA/umem: Remove unused 'work' member from structib_umemIt is not used now.
Fixes b95df5e3e459 ("drivers/IB,core: reduce scope of mmap_sem")Signed-off-by Jason Gunthorpe <[email protected]>--- include/rdma/ib_umem.h | 1 - 1 file changed, 1 deletion(-)include/rdma/ib_umem.h index renamed from include/rdma/ib_umem.h +0
-0
92a673cd9b4fd7..95896472a82bfb100644
include/rdma/ib_umem.h struct ib_umem { · line 30
Quoted 7 lines
include/rdma/ib_umem.h +0
-1@@ -25,7 +25,6 @@ struct ib_umem { u32 writable : 1; u32 is_odp : 1; u32 is_dmabuf : 1; -struct work_struct work;struct sg_append_table sgt_append; };
LGTM
Reviewed-by Devesh Sharma <[email protected]>
Quoted 3 lines
base-commit:
627122280c878cf5d3cda2d2c5a0a8f6a7e35cb7--
2.39.1
Leon Romanovsky
AppliedQuoted 3 lines · Jason Gunthorpe
It is not used now.
Applied, thanks!
[1/1] RDMA/umem: Remove unused 'work' member from struct ib_umem
https://git.kernel.org/rdma/rdma/c/91d088a0304941
Best regards,
Signature · 1 line
Leon Romanovsky <[email protected]>