From b0d62a3d8e1ea9eccd246829a03e2d23f0982431 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 26 Mar 2013 12:35:09 +0000 Subject: hw/tcx: Remove unused 'addr' field and the property that sets it Remove the 'addr' field from TCXState (since it is completely unused), also the qdev property which sets it. This seems to be a relic from many years past; devices don't need to know where they are mapped. Signed-off-by: Peter Maydell Signed-off-by: Stefan Hajnoczi --- hw/tcx.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/tcx.c') diff --git a/hw/tcx.c b/hw/tcx.c index f1edffd877..c44068e7c9 100644 --- a/hw/tcx.c +++ b/hw/tcx.c @@ -37,7 +37,6 @@ typedef struct TCXState { SysBusDevice busdev; - hwaddr addr; QemuConsole *con; uint8_t *vram; uint32_t *vram24, *cplane; @@ -707,7 +706,6 @@ write_err: } static Property tcx_properties[] = { - DEFINE_PROP_TADDR("addr", TCXState, addr, -1), DEFINE_PROP_HEX32("vram_size", TCXState, vram_size, -1), DEFINE_PROP_UINT16("width", TCXState, width, -1), DEFINE_PROP_UINT16("height", TCXState, height, -1), -- cgit v1.2.3-55-g7522