diff options
author | Ingo Molnar <mingo@kernel.org> | 2022-01-07 12:19:10 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:57:42 +0100 |
commit | d64da75c52db4e3ddac91160599c8088bb25ea7f (patch) | |
tree | 3f951fa20ed959d8692519917dccaf6a1273a88a | |
parent | 085325eac65057d8fc95cfc3ba2926beaa41c6c5 (diff) | |
download | tip-d64da75c52db4e3ddac91160599c8088bb25ea7f.tar.gz |
headers/deps: RDMA: Optimize <rdma/ib_verbs.h> dependencies, remove <net/ipv6_api.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <rdma/ib_verbs.h> | LOC: 37,025 | headers: 570
after: | #include <rdma/ib_verbs.h> | LOC: 33,285 | headers: 551
This header is included in over 600 .c files in a Linux distribution kernel build.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | include/rdma/ib_verbs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index adc72cbe607bf..c6cd75d21568b 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -13,7 +13,6 @@ #define IB_VERBS_H #include <linux/refcount_api.h> -#include <net/ipv6_api.h> #include <linux/xarray_api.h> #include <linux/mm_page_address.h> #include <linux/mm_api.h> |