From nobody Mon Nov 10 11:20:34 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1556612625; cv=none; d=zoho.com; s=zohoarc; b=UpWkaoTlZxtf8Gxpx89PdK25GcPfyactSXbiVM+BofTBKa42U3XAC9sZY29hBSV1qmGKbjaXPmsKgYdEOhxqvx9G05pb6OmaPmerOP1DyvXEkygAILQz7wyQDobI4FqvjhuqI7HcHceZTW6WzMoa+DPFvDTVDx8gYdwv9oC+s1g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556612625; h=Content-Type:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=26Rvg4HDv6h8qFflfur3GianCJmmWzyjaYqfYkQl/vE=; b=SXFvZ4xlDlmoZ8974WMkO9LE/zFfCeowk2j0aoVhzGZEhtK3bscOiYUe+McIMvHa566KLbGZRAe9a6iDgYFvMvRL5d4T2vFA7tswsA9LOJ/qWUpmYll7VfzpXDg8VWcDwNbZMdostgq2gyxOYfO5kB8SlveGwptGEZcSlEh5o9E= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 15566126258133.5555899121951597; Tue, 30 Apr 2019 01:23:45 -0700 (PDT) Received: from localhost ([127.0.0.1]:41411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLO33-00080p-7t for importer@patchew.org; Tue, 30 Apr 2019 04:23:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLO1y-0007cn-SJ for qemu-devel@nongnu.org; Tue, 30 Apr 2019 04:22:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLO1u-0002y8-W5 for qemu-devel@nongnu.org; Tue, 30 Apr 2019 04:22:26 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:2061 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hLO1u-0002dm-Kz for qemu-devel@nongnu.org; Tue, 30 Apr 2019 04:22:22 -0400 Received: from dggeml406-hub.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 64F8F883E29A8AE4F07E; Tue, 30 Apr 2019 16:22:12 +0800 (CST) Received: from localhost.localdomain (10.175.104.211) by dggeml406-hub.china.huawei.com (10.3.17.50) with Microsoft SMTP Server id 14.3.439.0; Tue, 30 Apr 2019 16:22:01 +0800 From: Jie Wang To: Date: Tue, 30 Apr 2019 14:10:14 +0800 Message-ID: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.175.104.211] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 45.249.212.189 Subject: [Qemu-devel] [PATCH] vhost: remove the dead code X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: eric.fangyi@huawei.com, wangjie88@huawei.com, wu.wubin@huawei.com, mst@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" remove the dead code Signed-off-by: Jie Wang Reviewed-by: Stefan Hajnoczi --- hw/virtio/vhost.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c index 7f61018f2a..2303a8c206 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -1650,7 +1650,6 @@ fail_vq: hdev->vqs + i, hdev->vq_index + i); } - i =3D hdev->nvqs; =20 fail_mem: fail_features: --=20 2.16.2.windows.1