From: Paolo Bonzini Date: Mon, 30 Mar 2015 10:50:36 +0000 (+0200) Subject: ioport: remove wrong comment X-Git-Tag: v2.4.0-rc0~155^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30476b2282c69c9ec1e44e33a4c0b5d5f4bc884e;p=thirdparty%2Fqemu.git 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 --- diff --git a/ioport.c b/ioport.c index 783a3ae6756..eb954e3460d 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) {