Skip to contentSkip to conversation

RDMA/umem: Remove unused 'work' member from struct ib_umem

PATCH Applied Jason Gunthorpe 3 participants 3 messages Feb 9, 2023 – Feb 12, 2023 InfiniBand

lore
Share & tools
lore

Jason Gunthorpe

author maintainer
#0 lore raw

PATCH 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")
---
 include/rdma/ib_umem.h | 1 -
 1 file changed, 1 deletion(-)
include/rdma/ib_umem.h +0 -1
index 92a673cd9b4fd7..95896472a82bfb 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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 struct ib_umem

It is not used now.

Fixes b95df5e3e459 ("drivers/IB,core: reduce scope of mmap_sem")
---
 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..95896472a82bfb 100644

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

Quoted 3 lines

base-commit: 627122280c878cf5d3cda2d2c5a0a8f6a7e35cb7 --
2.39.1