* [PATCH kernel] powerpc/powernv/npu: Remove unused headers and a macro.
@ 2018-09-28 6:48 Alexey Kardashevskiy
2018-11-29 2:11 ` Alexey Kardashevskiy
2018-12-23 13:28 ` [kernel] " Michael Ellerman
0 siblings, 2 replies; 4+ messages in thread
From: Alexey Kardashevskiy @ 2018-09-28 6:48 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Alexey Kardashevskiy, Alistair Popple, Reza Arbab
The macro and few headers are not used so remove them.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
arch/powerpc/platforms/powernv/npu-dma.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/arch/powerpc/platforms/powernv/npu-dma.c b/arch/powerpc/platforms/powernv/npu-dma.c
index 8006c54..3a5c4ed 100644
--- a/arch/powerpc/platforms/powernv/npu-dma.c
+++ b/arch/powerpc/platforms/powernv/npu-dma.c
@@ -9,32 +9,18 @@
* License as published by the Free Software Foundation.
*/
-#include <linux/slab.h>
#include <linux/mmu_notifier.h>
#include <linux/mmu_context.h>
#include <linux/of.h>
-#include <linux/export.h>
#include <linux/pci.h>
#include <linux/memblock.h>
-#include <linux/iommu.h>
-#include <linux/debugfs.h>
#include <asm/debugfs.h>
-#include <asm/tlb.h>
#include <asm/powernv.h>
-#include <asm/reg.h>
-#include <asm/opal.h>
-#include <asm/io.h>
-#include <asm/iommu.h>
-#include <asm/pnv-pci.h>
-#include <asm/msi_bitmap.h>
#include <asm/opal.h>
-#include "powernv.h"
#include "pci.h"
-#define npu_to_phb(x) container_of(x, struct pnv_phb, npu)
-
/*
* spinlock to protect initialisation of an npu_context for a particular
* mm_struct.
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH kernel] powerpc/powernv/npu: Remove unused headers and a macro.
2018-09-28 6:48 [PATCH kernel] powerpc/powernv/npu: Remove unused headers and a macro Alexey Kardashevskiy
@ 2018-11-29 2:11 ` Alexey Kardashevskiy
2018-11-29 2:26 ` Alistair Popple
2018-12-23 13:28 ` [kernel] " Michael Ellerman
1 sibling, 1 reply; 4+ messages in thread
From: Alexey Kardashevskiy @ 2018-11-29 2:11 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Alistair Popple, Reza Arbab
Ping?
On 28/09/2018 16:48, Alexey Kardashevskiy wrote:
> The macro and few headers are not used so remove them.
>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> ---
> arch/powerpc/platforms/powernv/npu-dma.c | 14 --------------
> 1 file changed, 14 deletions(-)
>
> diff --git a/arch/powerpc/platforms/powernv/npu-dma.c b/arch/powerpc/platforms/powernv/npu-dma.c
> index 8006c54..3a5c4ed 100644
> --- a/arch/powerpc/platforms/powernv/npu-dma.c
> +++ b/arch/powerpc/platforms/powernv/npu-dma.c
> @@ -9,32 +9,18 @@
> * License as published by the Free Software Foundation.
> */
>
> -#include <linux/slab.h>
> #include <linux/mmu_notifier.h>
> #include <linux/mmu_context.h>
> #include <linux/of.h>
> -#include <linux/export.h>
> #include <linux/pci.h>
> #include <linux/memblock.h>
> -#include <linux/iommu.h>
> -#include <linux/debugfs.h>
>
> #include <asm/debugfs.h>
> -#include <asm/tlb.h>
> #include <asm/powernv.h>
> -#include <asm/reg.h>
> -#include <asm/opal.h>
> -#include <asm/io.h>
> -#include <asm/iommu.h>
> -#include <asm/pnv-pci.h>
> -#include <asm/msi_bitmap.h>
> #include <asm/opal.h>
>
> -#include "powernv.h"
> #include "pci.h"
>
> -#define npu_to_phb(x) container_of(x, struct pnv_phb, npu)
> -
> /*
> * spinlock to protect initialisation of an npu_context for a particular
> * mm_struct.
>
--
Alexey
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH kernel] powerpc/powernv/npu: Remove unused headers and a macro.
2018-11-29 2:11 ` Alexey Kardashevskiy
@ 2018-11-29 2:26 ` Alistair Popple
0 siblings, 0 replies; 4+ messages in thread
From: Alistair Popple @ 2018-11-29 2:26 UTC (permalink / raw)
To: Alexey Kardashevskiy; +Cc: Reza Arbab, linuxppc-dev
Thanks! Looks like a reasonable cleanup. Assuming it compiles I can't see any
reason not to add:
Acked-by: Alistair Popple <alistair@popple.id.au>
On Thursday, 29 November 2018 1:11:34 PM AEDT Alexey Kardashevskiy wrote:
> Ping?
>
> On 28/09/2018 16:48, Alexey Kardashevskiy wrote:
> > The macro and few headers are not used so remove them.
> >
> > Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> > ---
> >
> > arch/powerpc/platforms/powernv/npu-dma.c | 14 --------------
> > 1 file changed, 14 deletions(-)
> >
> > diff --git a/arch/powerpc/platforms/powernv/npu-dma.c
> > b/arch/powerpc/platforms/powernv/npu-dma.c index 8006c54..3a5c4ed 100644
> > --- a/arch/powerpc/platforms/powernv/npu-dma.c
> > +++ b/arch/powerpc/platforms/powernv/npu-dma.c
> > @@ -9,32 +9,18 @@
> >
> > * License as published by the Free Software Foundation.
> > */
> >
> > -#include <linux/slab.h>
> >
> > #include <linux/mmu_notifier.h>
> > #include <linux/mmu_context.h>
> > #include <linux/of.h>
> >
> > -#include <linux/export.h>
> >
> > #include <linux/pci.h>
> > #include <linux/memblock.h>
> >
> > -#include <linux/iommu.h>
> > -#include <linux/debugfs.h>
> >
> > #include <asm/debugfs.h>
> >
> > -#include <asm/tlb.h>
> >
> > #include <asm/powernv.h>
> >
> > -#include <asm/reg.h>
> > -#include <asm/opal.h>
> > -#include <asm/io.h>
> > -#include <asm/iommu.h>
> > -#include <asm/pnv-pci.h>
> > -#include <asm/msi_bitmap.h>
> >
> > #include <asm/opal.h>
> >
> > -#include "powernv.h"
> >
> > #include "pci.h"
> >
> > -#define npu_to_phb(x) container_of(x, struct pnv_phb, npu)
> > -
> >
> > /*
> >
> > * spinlock to protect initialisation of an npu_context for a particular
> > * mm_struct.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [kernel] powerpc/powernv/npu: Remove unused headers and a macro.
2018-09-28 6:48 [PATCH kernel] powerpc/powernv/npu: Remove unused headers and a macro Alexey Kardashevskiy
2018-11-29 2:11 ` Alexey Kardashevskiy
@ 2018-12-23 13:28 ` Michael Ellerman
1 sibling, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2018-12-23 13:28 UTC (permalink / raw)
To: Alexey Kardashevskiy, linuxppc-dev
Cc: Alexey Kardashevskiy, Alistair Popple, Reza Arbab
On Fri, 2018-09-28 at 06:48:25 UTC, Alexey Kardashevskiy wrote:
> The macro and few headers are not used so remove them.
>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> Acked-by: Alistair Popple <alistair@popple.id.au>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/fa1ada78897f282917594ba8eba220
cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-12-23 14:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-28 6:48 [PATCH kernel] powerpc/powernv/npu: Remove unused headers and a macro Alexey Kardashevskiy
2018-11-29 2:11 ` Alexey Kardashevskiy
2018-11-29 2:26 ` Alistair Popple
2018-12-23 13:28 ` [kernel] " Michael Ellerman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.