From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Jie Wang Date: Tue, 30 Apr 2019 14:10:14 +0800 Message-ID: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH] vhost: remove the dead code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com, wangjie88@huawei.com, wu.wubin@huawei.com, eric.fangyi@huawei.com remove the dead code Signed-off-by: Jie Wang --- 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 = hdev->nvqs; fail_mem: fail_features: -- 2.16.2.windows.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11241C43219 for ; Tue, 30 Apr 2019 08:23:28 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D581A20835 for ; Tue, 30 Apr 2019 08:23:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D581A20835 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:41411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLO2w-00080p-Oh for qemu-devel@archiver.kernel.org; Tue, 30 Apr 2019 04:23:26 -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 Content-Type: text/plain; charset="UTF-8" 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190430061014.nwH11E6LPPBngwmFNF7_Eo-cRsCL_9HG2uP1dqQGwow@z> remove the dead code Signed-off-by: Jie Wang --- 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 = hdev->nvqs; fail_mem: fail_features: -- 2.16.2.windows.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63313C28CC0 for ; Wed, 29 May 2019 16:39:37 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3C9AF23DE8 for ; Wed, 29 May 2019 16:39:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C9AF23DE8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:57763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW1c0-0001bQ-AE for qemu-devel@archiver.kernel.org; Wed, 29 May 2019 12:39:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW1a2-00007I-Ls for qemu-devel@nongnu.org; Wed, 29 May 2019 12:37:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW1a1-0002qa-KZ for qemu-devel@nongnu.org; Wed, 29 May 2019 12:37:34 -0400 Received: from mail-qk1-f181.google.com ([209.85.222.181]:42727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hW1a1-0002qJ-Gq for qemu-devel@nongnu.org; Wed, 29 May 2019 12:37:33 -0400 Received: by mail-qk1-f181.google.com with SMTP id b18so1872983qkc.9 for ; Wed, 29 May 2019 09:37:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=v+ECkpJzkDVdVI5rLDwJXguPVOQxaO4yQjX4+F++UwY=; b=Cl4w+eoRrGxT0FWaWxlksY5OfSdylcmJR/HldB748t0rrSdzWW/sVA/KuaKjg9oD9K FeGoDt2A6MAOhvYAfVpK8KMlHt/yYXkyykbGas78a5q2JQCvlmOFQwno2moYbLUSE1Y3 uWQv9dRzNZNiYNakGpHwWYGSUn9Hbw8N0IKAtxvxnNxT0h/744pJ3byoCq57nhqjrBea SCtV/0ler/F15WXaw3yxnXOPaFzZTazQdUhA3SGZFEfla1jTBGGB6jmf0UM+S6NGtX4y kR96dD/iqrYbYmF2jzTSl1jNFe1cA7H8M6gEvByhBJtTtscefVU16AQB+h8xbPd5Y7Bf 88Jg== X-Gm-Message-State: APjAAAWRDPJWx82FZsUwFHeIToIFLwIPK7hPqoeQC0hxuUK64Ry7UxWz 53YPNs9ZgkUyykGdovG25ZE7FwYSn00= X-Google-Smtp-Source: APXvYqzr7GKQPzCNRTyXhAYTQxpJtAV2CCQhPH2dG1eJXUclLYJZ6LLSQc+OAM/efHVkbc0w+EQb7Q== X-Received: by 2002:a37:8183:: with SMTP id c125mr46236364qkd.306.1559147852711; Wed, 29 May 2019 09:37:32 -0700 (PDT) Received: from redhat.com (pool-100-0-197-103.bstnma.fios.verizon.net. [100.0.197.103]) by smtp.gmail.com with ESMTPSA id h6sm2774374qti.21.2019.05.29.09.37.31 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 29 May 2019 09:37:31 -0700 (PDT) Date: Wed, 29 May 2019 12:37:31 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> References: <20190529163604.18560-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: <20190529163604.18560-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.222.181 Subject: [Qemu-devel] [PULL 08/10] 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: Peter Maydell , Stefan Hajnoczi , Jie Wang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190529163731.gg8PzFaIoQ5xjxqjIC4_Sd3NPQK9KRvE4NLP7ouRKy0@z> From: Jie Wang remove the dead code Signed-off-by: Jie Wang Message-Id: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin 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 = hdev->nvqs; fail_mem: fail_features: -- MST From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5BB7C04AB5 for ; Mon, 3 Jun 2019 18:19:59 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B05BA273C3 for ; Mon, 3 Jun 2019 18:19:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B05BA273C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:39095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXrYs-0002VL-V6 for qemu-devel@archiver.kernel.org; Mon, 03 Jun 2019 14:19:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXrOI-00027M-EN for qemu-devel@nongnu.org; Mon, 03 Jun 2019 14:09:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXrOE-0000PT-UO for qemu-devel@nongnu.org; Mon, 03 Jun 2019 14:09:00 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:42139) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXrOA-0008Tu-Td for qemu-devel@nongnu.org; Mon, 03 Jun 2019 14:08:55 -0400 Received: by mail-qt1-f173.google.com with SMTP id s15so10504357qtk.9 for ; Mon, 03 Jun 2019 11:08:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=v+ECkpJzkDVdVI5rLDwJXguPVOQxaO4yQjX4+F++UwY=; b=Osz/tuyJb2m8nIHrSbRoTscUmmfWPcSZqXhePtga/bacNcoyYmtgQyty7ToHoQtQvo kpWKFgTS/mXNKT3M6gW9+WDu8/z8uVBd3dYY9ml26ZvXtx/h3M+MvduHipsjmzwWEd9W 1fn9UC1h+5Y+jyfP5jy6To43WvsDHqbeAhRETVQ0vVc2N3FnKM+ZWxOZZoF3faA/b9ZC uKOfpAQ16NDXpatCHXE8OmOtvYnh0f6wSb9DLdOAdIHd3H0VzuZno28xhIwaRNOACREA 7j/ws2m6f2Kssn+SOMZ7Cy4UJ43w8yIzMolDomSDOA8r46A7o+8jBSFZBcOpmh7Y227c k2Tg== X-Gm-Message-State: APjAAAWD1GWKbPF+QtutVpHq6Yvhy5bU2rC6W90kj5diPP4ssdH9CI0T fj0xZtmvDEXeNpbpAY41qfxJuXyfMsk= X-Google-Smtp-Source: APXvYqzhDcagRCdCGQ6Ogb4fRR5yghpxo6Q+2HB9e05/a32FtlTDgMaMqtWjmD5g8VJuDyHLCxyTvw== X-Received: by 2002:ac8:2c53:: with SMTP id e19mr24889225qta.276.1559585329521; Mon, 03 Jun 2019 11:08:49 -0700 (PDT) Received: from redhat.com (pool-100-0-197-103.bstnma.fios.verizon.net. [100.0.197.103]) by smtp.gmail.com with ESMTPSA id m21sm4977796qtp.92.2019.06.03.11.08.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 03 Jun 2019 11:08:48 -0700 (PDT) Date: Mon, 3 Jun 2019 14:08:47 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> References: <20190603180807.16140-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: <20190603180807.16140-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.160.173 Subject: [Qemu-devel] [PULL v2 07/14] 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: Peter Maydell , Stefan Hajnoczi , Jie Wang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190603180847.yb0OfpNfhhE_JQ_39GLXkBUnxvFEQOGUep7IWzPiggY@z> From: Jie Wang remove the dead code Signed-off-by: Jie Wang Message-Id: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin 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 = hdev->nvqs; fail_mem: fail_features: -- MST From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47121C28CC5 for ; Wed, 5 Jun 2019 20:05:19 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 222C1207E0 for ; Wed, 5 Jun 2019 20:05:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 222C1207E0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:49106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYc9u-0006HI-Bg for qemu-devel@archiver.kernel.org; Wed, 05 Jun 2019 16:05:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYc5P-00034B-27 for qemu-devel@nongnu.org; Wed, 05 Jun 2019 16:00:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYc5K-0005YP-Jz for qemu-devel@nongnu.org; Wed, 05 Jun 2019 16:00:38 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]:36784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYc5K-0005Bi-Bs for qemu-devel@nongnu.org; Wed, 05 Jun 2019 16:00:34 -0400 Received: by mail-qk1-f172.google.com with SMTP id g18so26835qkl.3 for ; Wed, 05 Jun 2019 13:00:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=v+ECkpJzkDVdVI5rLDwJXguPVOQxaO4yQjX4+F++UwY=; b=iQOAowjvdO4BNJNGRjAlbgTBR0t2X9JWWD3XKRarZ87rbNEQKfmsl8Ih/KoSiCBH6I sj6Zslfj8xusWUN3lt7y9G6Qq8hGwjsRpLy1thNI5anxZiaCKkcUASSdZXkOwfE2hCBW 0B/3CmEp2/QkaQdWFzaiYrt/Xlp5eJDPLQF5VM0/rcKOcQcc2xm4yhn1TYxV/l+BwYDd vMf5gxHySGrWyXu3GG+XP+a1Z/fNckMYTlHST/8XQl9ni9ETVNuUXZiAxk6+qJ3F/+hF B6ITBfO9OFhayL949I1f9TF7kkMta+Xm+hiti1US+RxN10HyaZBb5CAwMSPRUn1NCon5 1c4A== X-Gm-Message-State: APjAAAVNjBSQMe+jAuvYHs8UO8Z6lqoj/Jh/M4/Qu8kvqUOeUqmQXxZb u7hzkuT5//W3TzUDgIpUp13+UGZJS+Q= X-Google-Smtp-Source: APXvYqxdVM8fzD5SnvnjlJT4x5IoavvSSHrw+LPYWFKStqf7ljki//aj6G1uhSo7NWE3Ad6iPW9pmA== X-Received: by 2002:a05:620a:1329:: with SMTP id p9mr15864237qkj.224.1559764822016; Wed, 05 Jun 2019 13:00:22 -0700 (PDT) Received: from redhat.com (pool-100-0-197-103.bstnma.fios.verizon.net. [100.0.197.103]) by smtp.gmail.com with ESMTPSA id p37sm13545546qtc.35.2019.06.05.13.00.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 05 Jun 2019 13:00:21 -0700 (PDT) Date: Wed, 5 Jun 2019 16:00:20 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> References: <20190605195913.12243-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: <20190605195913.12243-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.222.172 Subject: [Qemu-devel] [PULL v3 07/17] 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: Peter Maydell , Stefan Hajnoczi , Jie Wang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190605200020.5o8GAE0rLznEiR7_nf3-I882eak4YruUxrjwoDeOhJ8@z> From: Jie Wang remove the dead code Signed-off-by: Jie Wang Message-Id: <1556604614-32081-1-git-send-email-wangjie88@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin 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 = hdev->nvqs; fail_mem: fail_features: -- MST