Skip to contentSkip to conversation

mtrr:Remove unnessary included header for the file,main.c

PATCH RESEND Ingo Molnar 1 participant 1 message May 11, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 15 lines · Nicholas Krause

Removes the no longer needed include statement to include the header file,linux/types.h due to the header file,kvm_para.h no needing this secondary header in order to build successfully when being included in other files.

---
 arch/x86/kernel/cpu/mtrr/main.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/kernel/cpu/mtrr/main.c +0 -0
index ea5f363..049212e 100644

arch/x86/kernel/cpu/mtrr/main.c line 38

Quoted 8 lines
arch/x86/kernel/cpu/mtrr/main.c +0 -2
@@ -33,8 +33,6 @@
 
 #define DEBUG
 
-#include <linux/types.h> /* FIXME: kvm_para.h needs this */
-
 #include <linux/stop_machine.h>
 #include <linux/kvm_para.h>
 #include <linux/uaccess.h>

Please don't bother with such churn unless you do more substantial work in this area.

Thanks,

Ingo