ppc: remove a write-only variable
commit8b2715a01e5dee434fbe070c3c855133203b2845
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 9 Apr 2011 14:25:25 +0000 (9 14:25 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 11 Apr 2011 17:21:42 +0000 (11 17:21 +0000)
tree15d64537cbc4772f85fd20f9569be13ba853c773
parent8f16753fd6b584f34d47e102d290dbf4d5c94d46
ppc: remove a write-only variable

Remove a write-only variable, spotted by GCC 4.6.0:
/src/qemu/hw/ppc.c: In function 'power7_set_irq':
/src/qemu/hw/ppc.c:255:9: error: variable 'cur_level' set but not used [-Werror=unused-but-set-variable]

Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/ppc.c