[PATCH rdma-next 03/50] RDMA/umem: Remove unnecessary includes and defines from ib_umem header
From: Leon Romanovsky
Date: Fri Feb 13 2026 - 05:59:54 EST
From: Leon Romanovsky <leonro@xxxxxxxxxx>
The ib_umem header no longer requires the removed includes or forward
declarations, so drop them to reduce clutter.
Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
---
include/rdma/ib_umem.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/rdma/ib_umem.h b/include/rdma/ib_umem.h
index 084a1d9a66f3..c3ab11e6879f 100644
--- a/include/rdma/ib_umem.h
+++ b/include/rdma/ib_umem.h
@@ -7,13 +7,9 @@
#ifndef IB_UMEM_H
#define IB_UMEM_H
-#include <linux/list.h>
#include <linux/scatterlist.h>
-#include <linux/workqueue.h>
struct ib_device;
-struct ib_ucontext;
-struct ib_umem_odp;
struct dma_buf_attach_ops;
struct ib_umem {
--
2.52.0