From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU3Mk-0000ik-6b for qemu-devel@nongnu.org; Sun, 31 Jul 2016 22:54:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bU3Me-00048H-8b for qemu-devel@nongnu.org; Sun, 31 Jul 2016 22:54:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU3Me-00048D-3S for qemu-devel@nongnu.org; Sun, 31 Jul 2016 22:54:00 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BF96883F38 for ; Mon, 1 Aug 2016 02:53:58 +0000 (UTC) From: Fam Zheng Date: Mon, 1 Aug 2016 10:53:56 +0800 Message-Id: <1470020036-14024-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH] virtio-blk: Remove stale comment about draining List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lersek@redhat.com, stefanha@redhat.com This is stale after commit 6e40b3bf (virtio-blk: Use blk_drain() to drain IO requests), remove it. Suggested-by: Laszlo Ersek Signed-off-by: Fam Zheng --- hw/block/virtio-blk.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c index 89eca65..3468a21 100644 --- a/hw/block/virtio-blk.c +++ b/hw/block/virtio-blk.c @@ -656,10 +656,6 @@ static void virtio_blk_reset(VirtIODevice *vdev) AioContext *ctx; VirtIOBlockReq *req; - /* - * This should cancel pending requests, but can't do nicely until there - * are per-device request lists. - */ ctx = blk_get_aio_context(s->blk); aio_context_acquire(ctx); while (s->rq) { -- 2.7.4