diff options
author | Peter Maydell | 2013-03-26 13:35:09 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2013-03-28 10:32:49 +0100 |
commit | b0d62a3d8e1ea9eccd246829a03e2d23f0982431 (patch) | |
tree | 10a6a5c596b00e602469babb05ae6bcf19aabd7e /hw/sparc | |
parent | hw/i386/pc: format load_linux function (diff) | |
download | qemu-b0d62a3d8e1ea9eccd246829a03e2d23f0982431.tar.gz qemu-b0d62a3d8e1ea9eccd246829a03e2d23f0982431.tar.xz 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/sparc')
-rw-r--r-- | hw/sparc/sun4m.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c index 2f214da557..9ebda02aa1 100644 --- a/hw/sparc/sun4m.c +++ b/hw/sparc/sun4m.c @@ -575,7 +575,6 @@ static void tcx_init(hwaddr addr, int vram_size, int width, SysBusDevice *s; dev = qdev_create(NULL, "SUNW,tcx"); - qdev_prop_set_taddr(dev, "addr", addr); qdev_prop_set_uint32(dev, "vram_size", vram_size); qdev_prop_set_uint16(dev, "width", width); qdev_prop_set_uint16(dev, "height", height); |