Re: [Qemu-devel] [PATCH] ppc: Remove unused function cpu_ppc601_rtc_init()

2017-01-17 Thread David Gibson
On Tue, Jan 17, 2017 at 02:37:49PM +0100, Thomas Huth wrote:
> It is completely unused, thus it can be removed without problems.
> 
> Signed-off-by: Thomas Huth 

Applied to ppc-for-2.9, thanks.

> ---
>  hw/ppc/ppc.c | 7 ---
>  1 file changed, 7 deletions(-)
> 
> diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c
> index 8945869..f9a4b51 100644
> --- a/hw/ppc/ppc.c
> +++ b/hw/ppc/ppc.c
> @@ -950,13 +950,6 @@ clk_setup_cb cpu_ppc_tb_init (CPUPPCState *env, uint32_t 
> freq)
>  }
>  
>  /* Specific helpers for POWER & PowerPC 601 RTC */
> -#if 0
> -static clk_setup_cb cpu_ppc601_rtc_init (CPUPPCState *env)
> -{
> -return cpu_ppc_tb_init(env, 7812500);
> -}
> -#endif
> -
>  void cpu_ppc601_store_rtcu (CPUPPCState *env, uint32_t value)
>  {
>  _cpu_ppc_store_tbu(env, value);

-- 
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


signature.asc
Description: PGP signature


[Qemu-devel] [PATCH] ppc: Remove unused function cpu_ppc601_rtc_init()

2017-01-17 Thread Thomas Huth
It is completely unused, thus it can be removed without problems.

Signed-off-by: Thomas Huth 
---
 hw/ppc/ppc.c | 7 ---
 1 file changed, 7 deletions(-)

diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c
index 8945869..f9a4b51 100644
--- a/hw/ppc/ppc.c
+++ b/hw/ppc/ppc.c
@@ -950,13 +950,6 @@ clk_setup_cb cpu_ppc_tb_init (CPUPPCState *env, uint32_t 
freq)
 }
 
 /* Specific helpers for POWER & PowerPC 601 RTC */
-#if 0
-static clk_setup_cb cpu_ppc601_rtc_init (CPUPPCState *env)
-{
-return cpu_ppc_tb_init(env, 7812500);
-}
-#endif
-
 void cpu_ppc601_store_rtcu (CPUPPCState *env, uint32_t value)
 {
 _cpu_ppc_store_tbu(env, value);
-- 
1.8.3.1