diff mbox series

[v2,02/11] target/xtensa: Remove unnecessary declarations

Message ID 20181012002217.2864-3-philmd@redhat.com (mailing list archive)
State New, archived
Headers show
Series chardev: Convert IO handlers to use unsigned type | expand

Commit Message

Philippe Mathieu-Daudé Oct. 12, 2018, 12:22 a.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 target/xtensa/xtensa-semi.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/target/xtensa/xtensa-semi.c b/target/xtensa/xtensa-semi.c
index 2f76216276..e389069f0b 100644
--- a/target/xtensa/xtensa-semi.c
+++ b/target/xtensa/xtensa-semi.c
@@ -161,7 +161,6 @@  typedef struct XtensaSimConsole {
 
 static XtensaSimConsole *sim_console;
 
-static IOCanReadHandler sim_console_can_read;
 static int sim_console_can_read(void *opaque)
 {
     XtensaSimConsole *p = opaque;
@@ -169,7 +168,6 @@  static int sim_console_can_read(void *opaque)
     return sizeof(p->input.buffer) - p->input.offset;
 }
 
-static IOReadHandler sim_console_read;
 static void sim_console_read(void *opaque, const uint8_t *buf, int size)
 {
     XtensaSimConsole *p = opaque;