diff options
author | Ingo Molnar <mingo@kernel.org> | 2022-01-06 12:34:34 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:57:41 +0100 |
commit | 3d1096b33213b2c2b27f2035d3ea6570c4caabb1 (patch) | |
tree | 871f49def60b9fdd2ca21d4ba5c2eff158b2b9d3 | |
parent | 52ac2072c6b2850edb378bccd586581aa00f143d (diff) | |
download | tip-3d1096b33213b2c2b27f2035d3ea6570c4caabb1.tar.gz |
headers/deps: RDMA/restrack: Optimize <rdma/restrack.h> dependencies, remove <linux/sched.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <rdma/restrack.h> | LOC: 7,738 | headers: 206
after: | #include <rdma/restrack.h> | LOC: 938 | headers: 63
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | include/rdma/restrack.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/rdma/restrack.h b/include/rdma/restrack.h index 79d109c4724231..98e2be6f450d05 100644 --- a/include/rdma/restrack.h +++ b/include/rdma/restrack.h @@ -7,10 +7,8 @@ #define _RDMA_RESTRACK_H_ #include <linux/typecheck.h> -#include <linux/sched.h> #include <linux/kref.h> #include <linux/completion.h> -#include <linux/sched/task.h> #include <uapi/rdma/rdma_netlink.h> #include <linux/xarray.h> |