[Qemu-devel] [PATCH qemu] spapr_pci: Removed unused include

Alexey Kardashevskiy posted 1 patch 6 years, 12 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170329050958.3652-1-aik@ozlabs.ru
Test checkpatch passed
Test docker passed
Test s390x passed
hw/ppc/spapr_pci.c | 2 --
1 file changed, 2 deletions(-)
[Qemu-devel] [PATCH qemu] spapr_pci: Removed unused include
Posted by Alexey Kardashevskiy 6 years, 12 months ago
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---

This leftover is just confusing :)


---
 hw/ppc/spapr_pci.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
index 097ebdd51d..e7567e2e8f 100644
--- a/hw/ppc/spapr_pci.c
+++ b/hw/ppc/spapr_pci.c
@@ -50,8 +50,6 @@
 #include "sysemu/hostmem.h"
 #include "sysemu/numa.h"
 
-#include "hw/vfio/vfio.h"
-
 /* Copied from the kernel arch/powerpc/platforms/pseries/msi.c */
 #define RTAS_QUERY_FN           0
 #define RTAS_CHANGE_FN          1
-- 
2.11.0


Re: [Qemu-devel] [PATCH qemu] spapr_pci: Removed unused include
Posted by David Gibson 6 years, 12 months ago
On Wed, Mar 29, 2017 at 04:09:58PM +1100, Alexey Kardashevskiy wrote:
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> ---
> 
> This leftover is just confusing :)

Applied to ppc-for-2.10.

> 
> 
> ---
>  hw/ppc/spapr_pci.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
> index 097ebdd51d..e7567e2e8f 100644
> --- a/hw/ppc/spapr_pci.c
> +++ b/hw/ppc/spapr_pci.c
> @@ -50,8 +50,6 @@
>  #include "sysemu/hostmem.h"
>  #include "sysemu/numa.h"
>  
> -#include "hw/vfio/vfio.h"
> -
>  /* Copied from the kernel arch/powerpc/platforms/pseries/msi.c */
>  #define RTAS_QUERY_FN           0
>  #define RTAS_CHANGE_FN          1

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson