ppc: Remove unused function cpu_ppc601_rtc_init()
PATCH 1/1 ppc: Remove unused function cpu_ppc601_rtc_init()
It is completely unused, thus it can be removed without problems.
Signed-off-by Thomas Huth <[email protected]>
--- hw/ppc/ppc.c | 7 ------- 1 file changed, 7 deletions(-)
hw/ppc/ppc.c +0 -7
@@ -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);
Signature · 1 line
1.8.3.1
David Gibson
AppliedQuoted 3 lines · Thomas Huth
It is completely unused, thus it can be removed without problems.
Signed-off-by Thomas Huth <[email protected]>
Applied to ppc-for-2.9, thanks.
Quoted 22 lines
--- hw/ppc/ppc.c | 7 ------- 1 file changed, 7 deletions(-)hw/ppc/ppc.c +0
-7@@ -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);
Signature · 4 lines
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