lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RESEND] mtrr:Remove unnessary included header for the file,main.c

* Nicholas Krause <xerofoify@gmail.com> wrote:

> 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.
>
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
> arch/x86/kernel/cpu/mtrr/main.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c
> index ea5f363..049212e 100644
> --- a/arch/x86/kernel/cpu/mtrr/main.c
> +++ b/arch/x86/kernel/cpu/mtrr/main.c
> @@ -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


\
 
 \ /
  Last update: 2015-05-11 09:41    [W:0.024 / U:4.848 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site