fscache/main.c: local variables should be static
PATCH 1/1 fscache/main.c: local variables should be static
Quiets the sparse noise:
warning: symbol 'fscache_sysctls' was not declared. Should it be static?
warning: symbol 'fscache_sysctls_root' was not declared. Should it be static?
Signed-off-by H Hartley Sweeten <[email protected]>
Cc David Howells <[email protected]>
---
fs/fscache/main.c +2 -2
@@ -67,7 +67,7 @@ static int fscache_max_active_sysctl(struct ctl_table *table, int write,return ret; } -ctl_table fscache_sysctls[] = { +static ctl_table fscache_sysctls[] = { { .procname ="object_max_active" , .data = &fscache_object_max_active,
@@ -87,7 +87,7 @@ ctl_table fscache_sysctls[] = { {} }; -ctl_table fscache_sysctls_root[] = { +static ctl_table fscache_sysctls_root[] = { { .procname ="fscache" , .mode =0555 ,