Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hw/isa/vt82c686: Remove via_isa_set_irq()
Now that via_isa_set_irq() is unused it can be removed.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20230531211043.41724-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
  • Loading branch information
shentok authored and philmd committed Jul 10, 2023
1 parent 68eadfa commit 4e5a20b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions hw/isa/vt82c686.c
Expand Up @@ -592,12 +592,6 @@ static const TypeInfo via_isa_info = {
},
};

void via_isa_set_irq(PCIDevice *d, int n, int level)
{
ViaISAState *s = VIA_ISA(d);
qemu_set_irq(s->isa_irqs_in[n], level);
}

static void via_isa_request_i8259_irq(void *opaque, int irq, int level)
{
ViaISAState *s = opaque;
Expand Down
2 changes: 0 additions & 2 deletions include/hw/isa/vt82c686.h
Expand Up @@ -34,6 +34,4 @@ struct ViaAC97State {
uint32_t ac97_cmd;
};

void via_isa_set_irq(PCIDevice *d, int n, int level);

#endif

0 comments on commit 4e5a20b

Please sign in to comment.