diff mbox

ppc: Remove unused function cpu_ppc601_rtc_init()

Message ID 1484660269-14363-1-git-send-email-thuth@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Huth Jan. 17, 2017, 1:37 p.m. UTC
It is completely unused, thus it can be removed without problems.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 hw/ppc/ppc.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

David Gibson Jan. 17, 2017, 10:09 p.m. UTC | #1
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 <thuth@redhat.com>

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);
diff mbox

Patch

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