From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A9702A053D for ; Fri, 17 Jul 2020 18:33:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9BD341BEBF; Fri, 17 Jul 2020 18:33:16 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 505DB1BEBF for ; Fri, 17 Jul 2020 18:33:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595003594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tMYsw8hAhpnMvCTxdV3eLGkLjpsS49r//N2nDx4tiJ4=; b=dvkgmCr+DVOLC/7q5eqJJqcb8pkH5MSWRyDfjLkAraa3upDbVumBt1fWqCL8aXLoHs/0VJ 4IoSuH0wHkpHr7FrOknJR/CcN3xSpNmESiaTYt/OqZEXABwkqG+phcXRbq4NoOtOS5kG05 BPJdM5tyXaG4tnWOIJTQRMP13+PWKB0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-13-EA70E-44NKigJyF59Av_PA-1; Fri, 17 Jul 2020 12:33:06 -0400 X-MC-Unique: EA70E-44NKigJyF59Av_PA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BB238100526A; Fri, 17 Jul 2020 16:33:05 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.168]) by smtp.corp.redhat.com (Postfix) with ESMTP id D504C72E48; Fri, 17 Jul 2020 16:33:04 +0000 (UTC) From: Kevin Traynor To: Yunjian Wang Cc: David Marchand , dpdk stable Date: Fri, 17 Jul 2020 17:32:13 +0100 Message-Id: <20200717163214.4839-25-ktraynor@redhat.com> In-Reply-To: <20200717163214.4839-1-ktraynor@redhat.com> References: <20200717163214.4839-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'vfio: remove unused variable' has been queued to LTS release 18.11.10 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/23/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/68a6327bebe973559f6f49266e3c24e5b41e9699 Thanks. Kevin. --- >From 68a6327bebe973559f6f49266e3c24e5b41e9699 Mon Sep 17 00:00:00 2001 From: Yunjian Wang Date: Sat, 16 May 2020 15:58:39 +0800 Subject: [PATCH] vfio: remove unused variable [ upstream commit f4823a3982fd62993a1a128c2a0396cdbe01be8a ] The 'group_status' has never been used and can be removed. Fixes: 94c0776b1bad ("vfio: support hotplug") Signed-off-by: Yunjian Wang Reviewed-by: David Marchand --- lib/librte_eal/linuxapp/eal/eal_vfio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio.c b/lib/librte_eal/linuxapp/eal/eal_vfio.c index b4619c2117..2f84e0f215 100644 --- a/lib/librte_eal/linuxapp/eal/eal_vfio.c +++ b/lib/librte_eal/linuxapp/eal/eal_vfio.c @@ -863,7 +863,4 @@ rte_vfio_release_device(const char *sysfs_base, const char *dev_addr, struct rte_mem_config *mcfg = rte_eal_get_configuration()->mem_config; rte_rwlock_t *mem_lock = &mcfg->memory_hotplug_lock; - struct vfio_group_status group_status = { - .argsz = sizeof(group_status) - }; struct vfio_config *vfio_cfg; int vfio_group_fd; -- 2.21.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-07-17 17:17:01.396536532 +0100 +++ 0025-vfio-remove-unused-variable.patch 2020-07-17 17:17:00.006770867 +0100 @@ -1 +1 @@ -From f4823a3982fd62993a1a128c2a0396cdbe01be8a Mon Sep 17 00:00:00 2001 +From 68a6327bebe973559f6f49266e3c24e5b41e9699 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f4823a3982fd62993a1a128c2a0396cdbe01be8a ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -14 +15 @@ - lib/librte_eal/linux/eal_vfio.c | 3 --- + lib/librte_eal/linuxapp/eal/eal_vfio.c | 3 --- @@ -17,7 +18,7 @@ -diff --git a/lib/librte_eal/linux/eal_vfio.c b/lib/librte_eal/linux/eal_vfio.c -index abb12a354a..14358949e9 100644 ---- a/lib/librte_eal/linux/eal_vfio.c -+++ b/lib/librte_eal/linux/eal_vfio.c -@@ -934,7 +934,4 @@ rte_vfio_release_device(const char *sysfs_base, const char *dev_addr, - int vfio_dev_fd) - { +diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio.c b/lib/librte_eal/linuxapp/eal/eal_vfio.c +index b4619c2117..2f84e0f215 100644 +--- a/lib/librte_eal/linuxapp/eal/eal_vfio.c ++++ b/lib/librte_eal/linuxapp/eal/eal_vfio.c +@@ -863,7 +863,4 @@ rte_vfio_release_device(const char *sysfs_base, const char *dev_addr, + struct rte_mem_config *mcfg = rte_eal_get_configuration()->mem_config; + rte_rwlock_t *mem_lock = &mcfg->memory_hotplug_lock;