[PATCH] arch/powerpc: Remove duplicate headers

Mukesh Ojha mojha at codeaurora.org
Thu Mar 28 17:45:48 AEDT 2019


On 3/23/2019 6:20 PM, jagdsh.linux at gmail.com wrote:
> From: Jagadeesh Pagadala <jagdsh.linux at gmail.com>
>
> Remove duplicate headers which are included twice.
>
> Signed-off-by: Jagadeesh Pagadala <jagdsh.linux at gmail.com>
Reviewed-by: Mukesh Ojha <mojha at codeaurora.org>

-Mukesh
> ---
>   arch/powerpc/kernel/time.c       | 1 -
>   arch/powerpc/lib/code-patching.c | 1 -
>   arch/powerpc/mm/numa.c           | 1 -
>   3 files changed, 3 deletions(-)
>
> diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
> index bc0503e..6ef3247 100644
> --- a/arch/powerpc/kernel/time.c
> +++ b/arch/powerpc/kernel/time.c
> @@ -43,7 +43,6 @@
>   #include <linux/timex.h>
>   #include <linux/kernel_stat.h>
>   #include <linux/time.h>
> -#include <linux/clockchips.h>
>   #include <linux/init.h>
>   #include <linux/profile.h>
>   #include <linux/cpu.h>
> diff --git a/arch/powerpc/lib/code-patching.c b/arch/powerpc/lib/code-patching.c
> index 506413a..587ff97 100644
> --- a/arch/powerpc/lib/code-patching.c
> +++ b/arch/powerpc/lib/code-patching.c
> @@ -15,7 +15,6 @@
>   #include <linux/cpuhotplug.h>
>   #include <linux/slab.h>
>   #include <linux/uaccess.h>
> -#include <linux/kprobes.h>
>   
>   #include <asm/pgtable.h>
>   #include <asm/tlbflush.h>
> diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
> index f976676..f3ee0e1 100644
> --- a/arch/powerpc/mm/numa.c
> +++ b/arch/powerpc/mm/numa.c
> @@ -32,7 +32,6 @@
>   #include <asm/sparsemem.h>
>   #include <asm/prom.h>
>   #include <asm/smp.h>
> -#include <asm/cputhreads.h>
>   #include <asm/topology.h>
>   #include <asm/firmware.h>
>   #include <asm/paca.h>


More information about the Linuxppc-dev mailing list