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:
parent
8d484caa84
commit
fc1a5e0a24
@ -385,11 +385,10 @@ static uint32_t pic_poll_read(PicState *s)
|
|||||||
return ret;
|
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)
|
unsigned size)
|
||||||
{
|
{
|
||||||
PicState *s = opaque;
|
PicState *s = opaque;
|
||||||
unsigned int addr = addr1;
|
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (s->poll) {
|
if (s->poll) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user