x86: Remove unnecessary #ifdef ACPI/X86_IO_ACPI
authorChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Mon, 6 Sep 2010 14:36:18 +0000 (16:36 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 8 Sep 2010 06:14:02 +0000 (08:14 +0200)
The ACPI/X86_IO_ACPI ifdef isn't necessary at this point,
because it is checked in an outer ifdef level already and has no
effect here.

Cleanup only, no functional effect.

Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Acked-by: Borislav Petkov <borislav.petkov@amd.com>
Cc: vamos-dev@i4.informatik.uni-erlangen.de
LKML-Reference: <d4376e6d79b8dc0f89a4b3ce4a880904a7b93ead.1283782701.git.qy03fugy@stud.informatik.uni-erlangen.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/early-quirks.c

index e5cc7e82e60ddbf1bd1ca2871fdb7d7fc7628e34..e4bd78c160d89761f4ce2457447d7a5ee58789e6 100644 (file)
@@ -97,7 +97,6 @@ static void __init nvidia_bugs(int num, int slot, int func)
 
 }
 
-#if defined(CONFIG_ACPI) && defined(CONFIG_X86_IO_APIC)
 #if defined(CONFIG_ACPI) && defined(CONFIG_X86_IO_APIC)
 static u32 __init ati_ixp4x0_rev(int num, int slot, int func)
 {
@@ -116,7 +115,6 @@ static u32 __init ati_ixp4x0_rev(int num, int slot, int func)
        d &= 0xff;
        return d;
 }
-#endif
 
 static void __init ati_bugs(int num, int slot, int func)
 {