diff mbox

[for-2.3,4/6] ioport: remove wrong comment

Message ID 1427715918-25768-5-git-send-email-pbonzini@redhat.com
State New
Headers show

Commit Message

Paolo Bonzini March 30, 2015, 11:45 a.m. UTC
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 | 4 ----
 1 file changed, 4 deletions(-)
diff mbox

Patch

diff --git a/ioport.c b/ioport.c
index 783a3ae..eb954e3 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) {