diff mbox

[qemu] ppc/pnv: Remove unused XICSState reference

Message ID 20170713062128.38954-1-aik@ozlabs.ru
State New
Headers show

Commit Message

Alexey Kardashevskiy July 13, 2017, 6:21 a.m. UTC
e6f7e110ee70 "ppc/xics: remove the XICSState classes" got rid of
XICSState, this is just an leftover.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
 include/hw/ppc/pnv_psi.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Cédric Le Goater July 13, 2017, 6:24 a.m. UTC | #1
On 07/13/2017 08:21 AM, Alexey Kardashevskiy wrote:
> e6f7e110ee70 "ppc/xics: remove the XICSState classes" got rid of
> XICSState, this is just an leftover.
> 
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>

Indeed.

Reviewed-by: Cédric Le Goater <clg@kaod.org>

Thanks,

C.
> ---
>  include/hw/ppc/pnv_psi.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/hw/ppc/pnv_psi.h b/include/hw/ppc/pnv_psi.h
> index 11d83e43f8..f6af5eae1f 100644
> --- a/include/hw/ppc/pnv_psi.h
> +++ b/include/hw/ppc/pnv_psi.h
> @@ -28,8 +28,6 @@
>  
>  #define PSIHB_XSCOM_MAX         0x20
>  
> -typedef struct XICSState XICSState;
> -
>  typedef struct PnvPsi {
>      SysBusDevice parent;
>  
>
David Gibson July 13, 2017, 11:56 a.m. UTC | #2
On Thu, Jul 13, 2017 at 04:21:28PM +1000, Alexey Kardashevskiy wrote:
> e6f7e110ee70 "ppc/xics: remove the XICSState classes" got rid of
> XICSState, this is just an leftover.
> 
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>

Applied to ppc-for-2.10, thanks.

> ---
>  include/hw/ppc/pnv_psi.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/hw/ppc/pnv_psi.h b/include/hw/ppc/pnv_psi.h
> index 11d83e43f8..f6af5eae1f 100644
> --- a/include/hw/ppc/pnv_psi.h
> +++ b/include/hw/ppc/pnv_psi.h
> @@ -28,8 +28,6 @@
>  
>  #define PSIHB_XSCOM_MAX         0x20
>  
> -typedef struct XICSState XICSState;
> -
>  typedef struct PnvPsi {
>      SysBusDevice parent;
>
diff mbox

Patch

diff --git a/include/hw/ppc/pnv_psi.h b/include/hw/ppc/pnv_psi.h
index 11d83e43f8..f6af5eae1f 100644
--- a/include/hw/ppc/pnv_psi.h
+++ b/include/hw/ppc/pnv_psi.h
@@ -28,8 +28,6 @@ 
 
 #define PSIHB_XSCOM_MAX         0x20
 
-typedef struct XICSState XICSState;
-
 typedef struct PnvPsi {
     SysBusDevice parent;