Commit 376b0c26 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by akpm

proc: delete unused <linux/uaccess.h> includes

Those aren't necessary after seq files won.

Link: https://lkml.kernel.org/r/YqnA3mS7KBt8Z4If@localhost.localdomainSigned-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 5fd8fea9
...@@ -69,7 +69,6 @@ ...@@ -69,7 +69,6 @@
#include <linux/sched/cputime.h> #include <linux/sched/cputime.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/uaccess.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/hugetlb.h> #include <linux/hugetlb.h>
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/bug.h> #include <linux/bug.h>
#include <linux/uaccess.h>
#include "internal.h" #include "internal.h"
static void proc_evict_inode(struct inode *inode) static void proc_evict_inode(struct inode *inode)
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/syslog.h> #include <linux/syslog.h>
#include <linux/uaccess.h>
#include <asm/io.h> #include <asm/io.h>
extern wait_queue_head_t log_wait; extern wait_queue_head_t log_wait;
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/hugetlb.h> #include <linux/hugetlb.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/uaccess.h>
#include <asm/tlb.h> #include <asm/tlb.h>
#include <asm/div64.h> #include <asm/div64.h>
#include "internal.h" #include "internal.h"
......
...@@ -8,9 +8,6 @@ ...@@ -8,9 +8,6 @@
* *
* proc net directory handling functions * proc net directory handling functions
*/ */
#include <linux/uaccess.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
* *
* Copyright 1997, Theodore Ts'o * Copyright 1997, Theodore Ts'o
*/ */
#include <linux/uaccess.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/errno.h> #include <linux/errno.h>
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
* *
* proc root directory handling functions * proc root directory handling functions
*/ */
#include <linux/uaccess.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/uaccess.h>
#include <linux/uio.h> #include <linux/uio.h>
#include <linux/cc_platform.h> #include <linux/cc_platform.h>
#include <asm/io.h> #include <asm/io.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment