summaryrefslogtreecommitdiffstats
path: root/hw/stellaris.c
diff options
context:
space:
mode:
authorBlue Swirl2010-04-25 21:31:06 +0200
committerBlue Swirl2010-04-25 21:31:06 +0200
commit22ed1d34789b184aaaa28c1e4620ce4467744cec (patch)
tree1402cbaab355bffa77a60e37c74ef54c3032b45d /hw/stellaris.c
parentx86: remove dead assignments, spotted by clang analyzer (diff)
downloadqemu-22ed1d34789b184aaaa28c1e4620ce4467744cec.tar.gz
qemu-22ed1d34789b184aaaa28c1e4620ce4467744cec.tar.xz
qemu-22ed1d34789b184aaaa28c1e4620ce4467744cec.zip
arm: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/stellaris.c')
-rw-r--r--hw/stellaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c
index 44c9eee553..5755f8a9fc 100644
--- a/hw/stellaris.c
+++ b/hw/stellaris.c
@@ -1367,7 +1367,7 @@ static void stellaris_init(const char *kernel_filename, const char *cpu_model,
gpio_out[GPIO_D][0] = qdev_get_gpio_in(mux, 0);
bus = qdev_get_child_bus(mux, "ssi0");
- dev = ssi_create_slave(bus, "ssi-sd");
+ ssi_create_slave(bus, "ssi-sd");
bus = qdev_get_child_bus(mux, "ssi1");
dev = ssi_create_slave(bus, "ssd0323");