Skip to content

Commit

Permalink
x86: Remove unnecessary #ifdef ACPI/X86_IO_ACPI
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Cc: [email protected]
LKML-Reference: <d4376e6d79b8dc0f89a4b3ce4a880904a7b93ead.1283782701.git.qy03fugy@stud.informatik.uni-erlangen.de>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
stettberger authored and Ingo Molnar committed Sep 8, 2010
1 parent f6e9456 commit 0f1cf41
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/early-quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 0f1cf41

Please sign in to comment.