From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcY8L-0005pH-Tq for qemu-devel@nongnu.org; Mon, 30 Mar 2015 07:45:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcY8L-0001vb-3U for qemu-devel@nongnu.org; Mon, 30 Mar 2015 07:45:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcY8K-0001vQ-HD for qemu-devel@nongnu.org; Mon, 30 Mar 2015 07:45:32 -0400 From: Paolo Bonzini Date: Mon, 30 Mar 2015 13:45:16 +0200 Message-Id: <1427715918-25768-5-git-send-email-pbonzini@redhat.com> In-Reply-To: <1427715918-25768-1-git-send-email-pbonzini@redhat.com> References: <1427715918-25768-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH for-2.3 4/6] ioport: remove wrong comment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Mark Cave-Ayland 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 --- ioport.c | 4 ---- 1 file changed, 4 deletions(-) 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) { -- 2.3.4