diff options
author | Andi Kleen <andi@firstfloor.org> | 2010-08-11 01:17:51 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-05 16:36:58 +0400 |
commit | b3bd3de66f60df4c9a2076e2886a622458929056 (patch) | |
tree | d0b1fa885acfa96536cf74f487acb28d63442b83 /kernel/sysctl.c | |
parent | ef5dc121d5a0bb1fa477c5395277259f07d318a3 (diff) | |
download | linux-b3bd3de66f60df4c9a2076e2886a622458929056.tar.xz |
gcc-4.6: kernel/*: Fix unused but set warnings
No real bugs I believe, just some dead code.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: andi@firstfloor.org
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index ca38e8e3e907..f88552c6d227 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1713,10 +1713,7 @@ static __init int sysctl_init(void) { sysctl_set_parent(NULL, root_table); #ifdef CONFIG_SYSCTL_SYSCALL_CHECK - { - int err; - err = sysctl_check_table(current->nsproxy, root_table); - } + sysctl_check_table(current->nsproxy, root_table); #endif return 0; } |