projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d484ca
)
i8259: Clean up pic_ioport_read
author
Jan Kiszka
<jan.kiszka@siemens.com>
Fri, 7 Oct 2011 07:19:48 +0000
(09:19 +0200)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 16 Oct 2011 11:11:09 +0000
(11:11 +0000)
Drop redundant local address variable.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/i8259.c
patch
|
blob
|
history
diff --git
a/hw/i8259.c
b/hw/i8259.c
index 31962c0f933fa77802e61040aef58e6b8852f86e..545d72373b87b563f4768c2c116e06da9472147d 100644
(file)
--- 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 addr
1
,
+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) {