[01/14] hw/ipmi: Remove unnecessary declarations
diff mbox series

Message ID 20191217163808.20068-2-philmd@redhat.com
State New
Headers show
  • chardev: Use QEMUChrEvent enum in IOEventHandler typedef
Related show

Commit Message

Philippe Mathieu-Daudé Dec. 17, 2019, 4:37 p.m. UTC
Since we don't use these methods before defining them,
no need to forward-declare them.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Cc: Corey Minyard <minyard@acm.org>
In case the other patches are rejected:
Cc: qemu-trivial@nongnu.org
 hw/ipmi/ipmi_bmc_extern.c | 4 ----
 1 file changed, 4 deletions(-)

diff mbox series

diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c
index 87da9ff99c..450926e5fb 100644
--- a/hw/ipmi/ipmi_bmc_extern.c
+++ b/hw/ipmi/ipmi_bmc_extern.c
@@ -87,10 +87,6 @@  typedef struct IPMIBmcExtern {
     bool send_reset;
 } IPMIBmcExtern;
-static int can_receive(void *opaque);
-static void receive(void *opaque, const uint8_t *buf, int size);
-static void chr_event(void *opaque, int event);
 static unsigned char
 ipmb_checksum(const unsigned char *data, int size, unsigned char start)