From: Adrian Bunk Make the needlessly global grab_header() static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- fs/proc/proc_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/proc/proc_sysctl.c~make-fs-proc-proc_sysctlc-grab_header-static fs/proc/proc_sysctl.c --- a/fs/proc/proc_sysctl.c~make-fs-proc-proc_sysctlc-grab_header-static +++ a/fs/proc/proc_sysctl.c @@ -66,7 +66,7 @@ static struct ctl_table *find_in_table(s return NULL; } -struct ctl_table_header *grab_header(struct inode *inode) +static struct ctl_table_header *grab_header(struct inode *inode) { if (PROC_I(inode)->sysctl) return sysctl_head_grab(PROC_I(inode)->sysctl); _