aboutsummaryrefslogtreecommitdiff
path: root/hw/input/ps2.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-07-12 22:52:50 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-07-18 19:28:46 +0100
commit46e9783fbeabfac3c4f07c0de5e32d8c322f7a07 (patch)
tree897a0b0e93d6f032380c416dd4cdccff9e4d5d44 /hw/input/ps2.c
parent9d1a4250377fdbc05088adbff1e1aa3572ce9889 (diff)
ps2: remove unused legacy ps2_mouse_init() function
Now that the legacy ps2_mouse_init() function is no longer used, it can be completely removed along with its associated trace-event. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Helge Deller <deller@gmx.de> Acked-by: Helge Deller <deller@gmx.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220712215251.7944-40-mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/input/ps2.c')
-rw-r--r--hw/input/ps2.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/hw/input/ps2.c b/hw/input/ps2.c
index 5b1728ef02..05cf7111e3 100644
--- a/hw/input/ps2.c
+++ b/hw/input/ps2.c
@@ -1236,19 +1236,6 @@ static void ps2_mouse_realize(DeviceState *dev, Error **errp)
qemu_input_handler_register(dev, &ps2_mouse_handler);
}
-void *ps2_mouse_init(void)
-{
- DeviceState *dev;
- PS2MouseState *s;
-
- dev = qdev_new(TYPE_PS2_MOUSE_DEVICE);
- sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal);
- s = PS2_MOUSE_DEVICE(dev);
-
- trace_ps2_mouse_init(s);
- return s;
-}
-
static void ps2_kbd_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);