]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86, gcc-4.6: Fix set but not read variables
authorAndi Kleen <andi@firstfloor.org>
Tue, 20 Jul 2010 22:19:49 +0000 (15:19 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Jul 2010 22:38:30 +0000 (15:38 -0700)
commitfa10ba64ac94fec4611b79804023eb087862ffe0
treef17a5fda67a78bcf13e122251a38369e9b3926bc
parent5f755293ca61520b70b11afe1b1d6e1635cb6c00
x86, gcc-4.6: Fix set but not read variables

Just some dead code, no real bugs.

Found by gcc 4.6 -Wall

Signed-off-by: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <201007202219.o6KMJnQ0021072@imap1.linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/aperture_64.c
arch/x86/kernel/cpu/mtrr/generic.c