Skip to content

Commit

Permalink
ioport: remove wrong comment
Browse files Browse the repository at this point in the history
ioport.c has not been using an alias since commit b40acf9 (ioport:
Switch dispatching to memory core layer, 2013-06-24).  Remove the
obsolete comment.

Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
bonzini committed Apr 27, 2015
1 parent e477317 commit 30476b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ioport.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,6 @@ static void portio_list_add_1(PortioList *piolist,
mrpio->ports[i].base = start + off_low;
}

/*
* Use an alias so that the callback is called with an absolute address,
* rather than an offset relative to to start + off_low.
*/
memory_region_init_io(&mrpio->mr, piolist->owner, &portio_ops, mrpio,
piolist->name, off_high - off_low);
if (piolist->flush_coalesced_mmio) {
Expand Down

0 comments on commit 30476b2

Please sign in to comment.