From 1246b259f846136d58a89568fdc0421d02e4df65 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 1 Dec 2013 08:49:47 +0100 Subject: misc: Replace 'struct QEMUTimer' by 'QEMUTimer' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most code already used QEMUTimer without the redundant 'struct' keyword. Signed-off-by: Stefan Weil Reviewed-by: Andreas Färber Signed-off-by: Michael Tokarev --- include/hw/char/serial.h | 4 ++-- include/hw/ppc/ppc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include/hw') diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h index 85f58ac..f431764 100644 --- a/include/hw/char/serial.h +++ b/include/hw/char/serial.h @@ -65,13 +65,13 @@ struct SerialState { /* Interrupt trigger level for recv_fifo */ uint8_t recv_fifo_itl; - struct QEMUTimer *fifo_timeout_timer; + QEMUTimer *fifo_timeout_timer; int timeout_ipending; /* timeout interrupt pending state */ uint64_t char_transmit_time; /* time to transmit a char in ticks */ int poll_msl; - struct QEMUTimer *modem_status_poll; + QEMUTimer *modem_status_poll; MemoryRegion io; }; diff --git a/include/hw/ppc/ppc.h b/include/hw/ppc/ppc.h index 132ab97..835418a 100644 --- a/include/hw/ppc/ppc.h +++ b/include/hw/ppc/ppc.h @@ -24,10 +24,10 @@ struct ppc_tb_t { /* Decrementer management */ uint64_t decr_next; /* Tick for next decr interrupt */ uint32_t decr_freq; /* decrementer frequency */ - struct QEMUTimer *decr_timer; + QEMUTimer *decr_timer; /* Hypervisor decrementer management */ uint64_t hdecr_next; /* Tick for next hdecr interrupt */ - struct QEMUTimer *hdecr_timer; + QEMUTimer *hdecr_timer; uint64_t purr_load; uint64_t purr_start; void *opaque; -- cgit v1.1