Patchwork hw/irq.h: Remove unused SetIRQFunc typedef

login
register
mail settings
Submitter Peter Maydell
Date Feb. 21, 2011, 2:58 p.m.
Message ID <1298300306-16832-1-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/83849/
State New
Headers show

Comments

Peter Maydell - Feb. 21, 2011, 2:58 p.m.
Remove the typedef SetIRQFunc, as it is not used by anything.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 hw/irq.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Aurelien Jarno - Feb. 21, 2011, 4:44 p.m.
On Mon, Feb 21, 2011 at 02:58:26PM +0000, Peter Maydell wrote:
> Remove the typedef SetIRQFunc, as it is not used by anything.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  hw/irq.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)

Thanks, applied.

> diff --git a/hw/irq.h b/hw/irq.h
> index 5daae44..f7849ed 100644
> --- a/hw/irq.h
> +++ b/hw/irq.h
> @@ -3,9 +3,7 @@
>  
>  /* Generic IRQ/GPIO pin infrastructure.  */
>  
> -/* FIXME: Rmove one of these.  */
>  typedef void (*qemu_irq_handler)(void *opaque, int n, int level);
> -typedef void SetIRQFunc(void *opaque, int irq_num, int level);
>  
>  void qemu_set_irq(qemu_irq irq, int level);
>  
> -- 
> 1.7.1
> 
> 
>

Patch

diff --git a/hw/irq.h b/hw/irq.h
index 5daae44..f7849ed 100644
--- a/hw/irq.h
+++ b/hw/irq.h
@@ -3,9 +3,7 @@ 
 
 /* Generic IRQ/GPIO pin infrastructure.  */
 
-/* FIXME: Rmove one of these.  */
 typedef void (*qemu_irq_handler)(void *opaque, int n, int level);
-typedef void SetIRQFunc(void *opaque, int irq_num, int level);
 
 void qemu_set_irq(qemu_irq irq, int level);