Message ID | 1298300306-16832-1-git-send-email-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 9a31334f419c1d773cf4b4bfbbdace96fbf8a4f4 |
Headers | show |
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 --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);
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(-)