aboutsummaryrefslogtreecommitdiff
path: root/ioport.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-03-30 12:50:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-04-27 18:24:19 +0200
commit30476b2282c69c9ec1e44e33a4c0b5d5f4bc884e (patch)
tree4167c9bb8a7925c25ce33c82e2758786a37d6243 /ioport.c
parente477317cce98c399a2299d025bcb6bf0fd69df49 (diff)
ioport: remove wrong comment
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 <pbonzini@redhat.com>
Diffstat (limited to 'ioport.c')
-rw-r--r--ioport.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ioport.c b/ioport.c
index 783a3ae675..eb954e3460 100644
--- a/ioport.c
+++ b/ioport.c
@@ -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) {