diff mbox

hw/irq.h: Remove unused SetIRQFunc typedef

Message ID 1298300306-16832-1-git-send-email-peter.maydell@linaro.org
State New
Headers show

Commit Message

Peter Maydell Feb. 21, 2011, 2:58 p.m. UTC
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(-)

Comments

Aurelien Jarno Feb. 21, 2011, 4:44 p.m. UTC | #1
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
> 
> 
>
diff mbox

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