From fc1a5e0a246848c5bba271d39882f8d7b15da682 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 7 Oct 2011 09:19:48 +0200 Subject: [PATCH] i8259: Clean up pic_ioport_read Drop redundant local address variable. Signed-off-by: Jan Kiszka Signed-off-by: Blue Swirl --- hw/i8259.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/i8259.c b/hw/i8259.c index 31962c0f93..545d72373b 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -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) {