diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-11-17 12:56:32 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-11-17 12:56:32 +0000 |
commit | 019294db68c24d0a3eb9089166caab94217274e1 (patch) | |
tree | b24a3daec8cc78a893d147714c68eb96fd6ad7f0 | |
parent | 63192565f9f5cc1c82c4213713c0a2764d8242e5 (diff) | |
download | qemu-019294db68c24d0a3eb9089166caab94217274e1.zip qemu-019294db68c24d0a3eb9089166caab94217274e1.tar.gz qemu-019294db68c24d0a3eb9089166caab94217274e1.tar.bz2 |
hw/input/ps2.c: Remove remnants of printf debug
In commit 5edab03d4040 we added tracepoints to the ps2 keyboard
and mouse emulation. However we didn't remove all the debug-by-printf
support. In fact there is only one printf() remaining, and it is
redundant with the trace_ps2_write_mouse() event next to it.
Remove the printf() and the now-unused DEBUG* macros.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20201101133258.4240-1-peter.maydell@linaro.org
-rw-r--r-- | hw/input/ps2.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/input/ps2.c b/hw/input/ps2.c index f8746d2..72cdb80 100644 --- a/hw/input/ps2.c +++ b/hw/input/ps2.c @@ -33,12 +33,6 @@ #include "trace.h" -/* debug PC keyboard */ -//#define DEBUG_KBD - -/* debug PC keyboard : only mouse */ -//#define DEBUG_MOUSE - /* Keyboard Commands */ #define KBD_CMD_SET_LEDS 0xED /* Set keyboard leds */ #define KBD_CMD_ECHO 0xEE @@ -790,9 +784,6 @@ void ps2_write_mouse(void *opaque, int val) PS2MouseState *s = (PS2MouseState *)opaque; trace_ps2_write_mouse(opaque, val); -#ifdef DEBUG_MOUSE - printf("kbd: write mouse 0x%02x\n", val); -#endif switch(s->common.write_cmd) { default: case -1: |