diff options
Diffstat (limited to 'hw/misc')
-rw-r--r-- | hw/misc/i2c-echo.c | 2 | ||||
-rw-r--r-- | hw/misc/ivshmem-flat.c | 2 | ||||
-rw-r--r-- | hw/misc/mips_cpc.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/hw/misc/i2c-echo.c b/hw/misc/i2c-echo.c index 65d1002..fcd407d 100644 --- a/hw/misc/i2c-echo.c +++ b/hw/misc/i2c-echo.c @@ -143,8 +143,6 @@ static void i2c_echo_realize(DeviceState *dev, Error **errp) state->bus = I2C_BUS(bus); state->bh = qemu_bh_new(i2c_echo_bh, state); - - return; } static void i2c_echo_class_init(ObjectClass *oc, void *data) diff --git a/hw/misc/ivshmem-flat.c b/hw/misc/ivshmem-flat.c index 076c4b4..c4e82a0 100644 --- a/hw/misc/ivshmem-flat.c +++ b/hw/misc/ivshmem-flat.c @@ -289,8 +289,6 @@ static void ivshmem_flat_iomem_write(void *opaque, hwaddr offset, trace_ivshmem_flat_read_write_mmr_invalid(offset); break; } - - return; } static const MemoryRegionOps ivshmem_flat_ops = { diff --git a/hw/misc/mips_cpc.c b/hw/misc/mips_cpc.c index 772b8c0..b7a13d1 100644 --- a/hw/misc/mips_cpc.c +++ b/hw/misc/mips_cpc.c @@ -92,8 +92,6 @@ static void cpc_write(void *opaque, hwaddr offset, uint64_t data, "%s: Bad offset 0x%x\n", __func__, (int)offset); break; } - - return; } static uint64_t cpc_read(void *opaque, hwaddr offset, unsigned size) |