From 30476b2282c69c9ec1e44e33a4c0b5d5f4bc884e Mon Sep 17 00:00:00 2001 From: Paolo Bonzini <pbonzini@redhat.com> Date: Mon, 30 Mar 2015 12:50:36 +0200 Subject: [PATCH] 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> --- ioport.c | 4 ---- 1 file changed, 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) {