qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] hw/irq.h: Remove unused SetIRQFunc typedef
@ 2011-02-21 14:58 Peter Maydell
  2011-02-21 16:44 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Maydell @ 2011-02-21 14:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: patches

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

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] hw/irq.h: Remove unused SetIRQFunc typedef
  2011-02-21 14:58 [Qemu-devel] [PATCH] hw/irq.h: Remove unused SetIRQFunc typedef Peter Maydell
@ 2011-02-21 16:44 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2011-02-21 16:44 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-devel, patches

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

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-21 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21 14:58 [Qemu-devel] [PATCH] hw/irq.h: Remove unused SetIRQFunc typedef Peter Maydell
2011-02-21 16:44 ` Aurelien Jarno

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