diff mbox series

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

Message ID 0-v1-22a2667fa089+a3-umem_work_jgg@nvidia.com (mailing list archive)
State Accepted
Headers show
Series RDMA/umem: Remove unused 'work' member from struct ib_umem | expand

Commit Message

Jason Gunthorpe Feb. 9, 2023, 4:51 p.m. UTC
It is not used now.

Fixes: b95df5e3e459 ("drivers/IB,core: reduce scope of mmap_sem")
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
---
 include/rdma/ib_umem.h | 1 -
 1 file changed, 1 deletion(-)


base-commit: 627122280c878cf5d3cda2d2c5a0a8f6a7e35cb7

Comments

Devesh Sharma Feb. 10, 2023, 4:44 a.m. UTC | #1
> -----Original Message-----
> From: Jason Gunthorpe <jgg@nvidia.com>
> Sent: Thursday, February 9, 2023 10:22 PM
> To: Leon Romanovsky <leon@kernel.org>; linux-rdma@vger.kernel.org
> Cc: Davidlohr Bueso <dbueso@suse.de>; Ira Weiny <ira.weiny@intel.com>
> 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@nvidia.com>
> ---
>  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@oracle.com>

> base-commit: 627122280c878cf5d3cda2d2c5a0a8f6a7e35cb7
> --
> 2.39.1
Leon Romanovsky Feb. 12, 2023, 6:25 p.m. UTC | #2
On Thu, 09 Feb 2023 12:51:36 -0400, Jason Gunthorpe wrote:
> 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,
diff mbox series

Patch

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;
 };