diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-03-26 12:35:09 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-28 10:32:49 +0100 |
commit | b0d62a3d8e1ea9eccd246829a03e2d23f0982431 (patch) | |
tree | 10a6a5c596b00e602469babb05ae6bcf19aabd7e /hw/tcx.c | |
parent | 0f9d76e5a9a396a2209761265ba6d98ce89b6a32 (diff) | |
download | qemu-b0d62a3d8e1ea9eccd246829a03e2d23f0982431.tar.gz qemu-b0d62a3d8e1ea9eccd246829a03e2d23f0982431.tar.bz2 qemu-b0d62a3d8e1ea9eccd246829a03e2d23f0982431.zip |
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 <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/tcx.c')
-rw-r--r-- | hw/tcx.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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), |