> -----Original Message----- > From: Jason Gunthorpe <jgg@xxxxxxxxxx> > Sent: Thursday, February 9, 2023 10:22 PM > To: Leon Romanovsky <leon@xxxxxxxxxx>; linux-rdma@xxxxxxxxxxxxxxx > Cc: Davidlohr Bueso <dbueso@xxxxxxx>; Ira Weiny <ira.weiny@xxxxxxxxx> > 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") > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > --- > include/rdma/ib_umem.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/rdma/ib_umem.h b/include/rdma/ib_umem.h index > 92a673cd9b4fd7..95896472a82bfb 100644 > --- a/include/rdma/ib_umem.h > +++ b/include/rdma/ib_umem.h > @@ -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 <devesh.s.sharma@xxxxxxxxxx> > base-commit: 627122280c878cf5d3cda2d2c5a0a8f6a7e35cb7 > -- > 2.39.1