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>
This commit is contained in:
Jan Kiszka 2011-10-07 09:19:48 +02:00 committed by Blue Swirl
parent 8d484caa84
commit fc1a5e0a24

View File

@ -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) {