hw/char: riscv_htif: Drop {to, from}host_size in HTIFState

These are not used anywhere. Drop them.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20221229091828.1945072-3-bmeng@tinylab.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Bin Meng 2022-12-29 17:18:18 +08:00 committed by Alistair Francis
parent 753ae97abc
commit bc9c3b1862

View File

@ -33,8 +33,6 @@ typedef struct HTIFState {
hwaddr tohost_offset; hwaddr tohost_offset;
hwaddr fromhost_offset; hwaddr fromhost_offset;
uint64_t tohost_size;
uint64_t fromhost_size;
MemoryRegion mmio; MemoryRegion mmio;
MemoryRegion *address_space; MemoryRegion *address_space;
MemoryRegion *main_mem; MemoryRegion *main_mem;