diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-11-30 20:00:49 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:57:39 +0100 |
commit | 1c81eed3ccf2dcdfabdabf764fdac6b7a611d861 (patch) | |
tree | 3b5c3505975124538aa12a380b0e42dc339a6779 | |
parent | 61f50585cecbfbac79a6cd9f9404f1397e321dfa (diff) | |
download | tip-1c81eed3ccf2dcdfabdabf764fdac6b7a611d861.tar.gz |
headers/deps: poll: Optimize <linux/poll.h> dependencies, remove <linux/uaccess.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <linux/poll.h> | LOC: 2,544 | headers: 157
after: | #include <linux/poll.h> | LOC: 1,088 | headers: 85
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | include/linux/poll.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/poll.h b/include/linux/poll.h index 4205fa81087a2..fd838e22a4a70 100644 --- a/include/linux/poll.h +++ b/include/linux/poll.h @@ -7,7 +7,7 @@ #include <linux/ktime.h> #include <linux/wait.h> #include <linux/string.h> -#include <linux/uaccess.h> + #include <uapi/linux/poll.h> #include <uapi/linux/eventpoll.h> |