diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-10-07 09:19:48 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-10-16 11:11:09 +0000 |
commit | fc1a5e0a246848c5bba271d39882f8d7b15da682 (patch) | |
tree | a3a80c9aa788e3c8fb6560b2e45432e94fff2cce /hw/i8259.c | |
parent | 8d484caa84dbaca5597cfbbf657ebdcd8f06b0c3 (diff) | |
download | qemu-fc1a5e0a246848c5bba271d39882f8d7b15da682.zip qemu-fc1a5e0a246848c5bba271d39882f8d7b15da682.tar.gz qemu-fc1a5e0a246848c5bba271d39882f8d7b15da682.tar.bz2 |
i8259: Clean up pic_ioport_read
Drop redundant local address variable.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/i8259.c')
-rw-r--r-- | hw/i8259.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -385,11 +385,10 @@ static uint32_t pic_poll_read(PicState *s) return ret; } -static uint64_t pic_ioport_read(void *opaque, target_phys_addr_t addr1, +static uint64_t pic_ioport_read(void *opaque, target_phys_addr_t addr, unsigned size) { PicState *s = opaque; - unsigned int addr = addr1; int ret; if (s->poll) { |