diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 19:31:06 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 19:31:06 +0000 |
commit | 22ed1d34789b184aaaa28c1e4620ce4467744cec (patch) | |
tree | 1402cbaab355bffa77a60e37c74ef54c3032b45d /hw/spitz.c | |
parent | 7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450 (diff) |
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/spitz.c')
-rw-r--r-- | hw/spitz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spitz.c b/hw/spitz.c index 564519b2c7..c3b5cd8e4f 100644 --- a/hw/spitz.c +++ b/hw/spitz.c @@ -721,7 +721,7 @@ static void spitz_ssp_attach(PXA2xxState *cpu) mux = ssi_create_slave(cpu->ssp[CORGI_SSP_PORT - 1], "corgi-ssp"); bus = qdev_get_child_bus(mux, "ssi0"); - dev = ssi_create_slave(bus, "spitz-lcdtg"); + ssi_create_slave(bus, "spitz-lcdtg"); bus = qdev_get_child_bus(mux, "ssi1"); dev = ssi_create_slave(bus, "ads7846"); |