]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ioport: remove wrong comment
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Mar 2015 10:50:36 +0000 (12:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Apr 2015 16:24:19 +0000 (18:24 +0200)
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>
ioport.c

index 783a3ae6756ff4375267555607f46606a055b628..eb954e3460d13beae9ed8f1205efbdfebfa837b8 100644 (file)
--- 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) {