Skip to contentSkip to conversation

hw/irq.h: Remove unused SetIRQFunc typedef

PATCH Applied Peter Maydell 2 participants 2 messages Feb 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/irq.h: Remove unused SetIRQFunc typedef

Remove the typedef SetIRQFunc, as it is not used by anything.

---
 hw/irq.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
hw/irq.h +0 -2
index 5daae44..f7849ed 100644
@@ -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);
 
Signature · 1 line
1.7.1
#1 lore raw
Quoted 6 lines · Peter Maydell

Remove the typedef SetIRQFunc, as it is not used by anything.

---
 hw/irq.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Thanks, applied.

Quoted 19 lines
hw/irq.h +0 -2
index 5daae44..f7849ed 100644
@@ -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);
 
Signature · 1 line
1.7.1
Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net