2013-04-25 09:25:03

by Jean Delvare

[permalink] [raw]
Subject: [PATCH] x86, setup: Drop unneeded include <asm/dmi.h>

arch/x86/kernel/setup.c includes <asm/dmi.h> but it doesn't look like
it needs it, <linux/dmi.h> is sufficient.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
---
arch/x86/kernel/setup.c | 1 -
1 file changed, 1 deletion(-)

--- linux-3.9-rc8.orig/arch/x86/kernel/setup.c 2013-04-23 14:30:49.473149298 +0200
+++ linux-3.9-rc8/arch/x86/kernel/setup.c 2013-04-23 14:41:45.666427600 +0200
@@ -82,7 +82,6 @@
#include <asm/timer.h>
#include <asm/i8259.h>
#include <asm/sections.h>
-#include <asm/dmi.h>
#include <asm/io_apic.h>
#include <asm/ist.h>
#include <asm/setup_arch.h>

--
Jean Delvare
Suse L3


Subject: [tip:x86/platform] x86/setup: Drop unneeded include <asm/dmi.h>

Commit-ID: 06d219dc22daa26b79ec8e611caa68801607f15d
Gitweb: http://git.kernel.org/tip/06d219dc22daa26b79ec8e611caa68801607f15d
Author: Jean Delvare <[email protected]>
AuthorDate: Thu, 25 Apr 2013 11:24:05 +0200
Committer: Ingo Molnar <[email protected]>
CommitDate: Thu, 25 Apr 2013 11:32:51 +0200

x86/setup: Drop unneeded include <asm/dmi.h>

arch/x86/kernel/setup.c includes <asm/dmi.h> but it doesn't look
like it needs it, <linux/dmi.h> is sufficient.

Signed-off-by: Jean Delvare <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
---
arch/x86/kernel/setup.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 90d8cc9..a60b245 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -82,7 +82,6 @@
#include <asm/timer.h>
#include <asm/i8259.h>
#include <asm/sections.h>
-#include <asm/dmi.h>
#include <asm/io_apic.h>
#include <asm/ist.h>
#include <asm/setup_arch.h>