* [Qemu-devel] [PATCH] ppc: Remove unused function cpu_ppc601_rtc_init()
@ 2017-01-17 13:37 Thomas Huth
2017-01-17 22:09 ` David Gibson
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2017-01-17 13:37 UTC (permalink / raw)
To: David Gibson, qemu-devel; +Cc: qemu-ppc
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] ppc: Remove unused function cpu_ppc601_rtc_init()
2017-01-17 13:37 [Qemu-devel] [PATCH] ppc: Remove unused function cpu_ppc601_rtc_init() Thomas Huth
@ 2017-01-17 22:09 ` David Gibson
0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2017-01-17 22:09 UTC (permalink / raw)
To: Thomas Huth; +Cc: qemu-devel, qemu-ppc
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
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);
--
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-17 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-17 13:37 [Qemu-devel] [PATCH] ppc: Remove unused function cpu_ppc601_rtc_init() Thomas Huth
2017-01-17 22:09 ` David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).