Patchwork [v3,01/13] remove unused function

login
register
mail settings
Submitter Paolo Bonzini
Date Oct. 21, 2011, 4:26 p.m.
Message ID <1319214405-20388-2-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/121030/
State New
Headers show

Comments

Paolo Bonzini - Oct. 21, 2011, 4:26 p.m.
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 hw/mac_dbdma.c |    5 -----
 hw/mac_dbdma.h |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)
Anthony Liguori - Oct. 31, 2011, 6:10 p.m.
Are you planning on spinning a v4 with TeLeMan's suggestions by tomorrow?

Regards,

Anthony Liguori

On 10/21/2011 11:26 AM, Paolo Bonzini wrote:
> Reviewed-by: Anthony Liguori<aliguori@us.ibm.com>
> Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
> ---
>   hw/mac_dbdma.c |    5 -----
>   hw/mac_dbdma.h |    1 -
>   2 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/hw/mac_dbdma.c b/hw/mac_dbdma.c
> index 5affdd1..1791ec1 100644
> --- a/hw/mac_dbdma.c
> +++ b/hw/mac_dbdma.c
> @@ -661,11 +661,6 @@ void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq,
>       ch->io.channel = ch;
>   }
>
> -void DBDMA_schedule(void)
> -{
> -    qemu_notify_event();
> -}
> -
>   static void
>   dbdma_control_write(DBDMA_channel *ch)
>   {
> diff --git a/hw/mac_dbdma.h b/hw/mac_dbdma.h
> index 933e17c..6d1abe6 100644
> --- a/hw/mac_dbdma.h
> +++ b/hw/mac_dbdma.h
> @@ -41,5 +41,4 @@ struct DBDMA_io {
>   void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq,
>                               DBDMA_rw rw, DBDMA_flush flush,
>                               void *opaque);
> -void DBDMA_schedule(void);
>   void* DBDMA_init (MemoryRegion **dbdma_mem);

Patch

diff --git a/hw/mac_dbdma.c b/hw/mac_dbdma.c
index 5affdd1..1791ec1 100644
--- a/hw/mac_dbdma.c
+++ b/hw/mac_dbdma.c
@@ -661,11 +661,6 @@  void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq,
     ch->io.channel = ch;
 }
 
-void DBDMA_schedule(void)
-{
-    qemu_notify_event();
-}
-
 static void
 dbdma_control_write(DBDMA_channel *ch)
 {
diff --git a/hw/mac_dbdma.h b/hw/mac_dbdma.h
index 933e17c..6d1abe6 100644
--- a/hw/mac_dbdma.h
+++ b/hw/mac_dbdma.h
@@ -41,5 +41,4 @@  struct DBDMA_io {
 void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq,
                             DBDMA_rw rw, DBDMA_flush flush,
                             void *opaque);
-void DBDMA_schedule(void);
 void* DBDMA_init (MemoryRegion **dbdma_mem);