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 13C8AA0518 for ; Fri, 24 Jul 2020 14:06:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0BC391C0C6; Fri, 24 Jul 2020 14:06:18 +0200 (CEST) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 0E3E71C113 for ; Fri, 24 Jul 2020 14:06:17 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id b6so8073346wrs.11 for ; Fri, 24 Jul 2020 05:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h42mZguvUWXqUBg9ELZbLp1KVY1vjTBTuFRfhuLSdxk=; b=jW+8YyJBax3PjyMTFSFuPQXVnpKFyvZoLr5UiwIvtPDtShrRZ4qVOahwilYhJ4OhSk MGN9OCqAToVcftxQx8lwirJx1KXhCtXCLyMDwpUXHQaUCSiNsQxFYuncOJXxJHm/fhvx 2DM0Ol5hwuvHE2Q66k5fDecIkl0AlLYLl56l+XJ/ZEQlAcuLQzX+VfMEQUd/0k/GlhC6 8Tjp05oH0NAVjEzjsVOsDgbGzrWCN2c5hIkBn7zgNMopvEYiGNmR/Dz9os9ueism2o+K zfeehhD3Cn9tYkO7bxh+JyS07HlYm98g3nEV6cVv16SOVDLq260ZaMBTAXFBFNAqZHrN oltg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h42mZguvUWXqUBg9ELZbLp1KVY1vjTBTuFRfhuLSdxk=; b=MDInkR6H+hoovmGB2XnxENuizHJQpG6UjG5FBKhMeTaJIsLGC0pWZtEXAg+nVUCuXm 0bET85WQ+DUIomgDu5ULpMDvAOmdLEbvdLT2V1EFzH88+Mtb4+dj0SaqWUsJoNDbHxvS snllRspzKDVs3eMFwRyEU7uLevM+1N3pvEodox4KI+k3Ci3576uPWSdaUXp7Us/89FzN HA3qWLbFIHOAslms3c7aUuvnbvnioYbyctKA5iK6iF0+NEcJfjMvC1aukYAeDoJ3MaN1 Tog+RPrkAosXj+RyhY6i9oVEo0mPHvQlu8qmpzHM/WiLnkVcOGXDNiqeJnvQEKiF27su NHcQ== X-Gm-Message-State: AOAM531G7XwZqUnAjPRB59TtNchSlANv+MjZ8zXEboyqCwQl9hCF9Xw9 RdV2Izggw8DhcF9pitgSVhwikgQMqsN1rA== X-Google-Smtp-Source: ABdhPJxCMgmssFwyga4ydQvVMkLDaJtiE9gnIhm4pmo/wQPHDg+xBeJejWc86h1v9OUikBw45jfV8A== X-Received: by 2002:adf:f008:: with SMTP id j8mr7890069wro.385.1595592376804; Fri, 24 Jul 2020 05:06:16 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id z15sm287238wrn.89.2020.07.24.05.06.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 05:06:16 -0700 (PDT) From: luca.boccassi@gmail.com To: Yunjian Wang Cc: David Marchand , dpdk stable Date: Fri, 24 Jul 2020 12:58:41 +0100 Message-Id: <20200724120030.1863487-83-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200724120030.1863487-1-luca.boccassi@gmail.com> References: <20200724120030.1863487-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'vfio: remove unused variable' has been queued to stable release 19.11.4 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 stable release 19.11.4 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/26/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. Thanks. Luca Boccassi --- >From 3f7b84c931a0887ee1f65634a034c2efc2f3deef 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/linux/eal/eal_vfio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_eal/linux/eal/eal_vfio.c b/lib/librte_eal/linux/eal/eal_vfio.c index 62ffe13e0..1b703bf9e 100644 --- a/lib/librte_eal/linux/eal/eal_vfio.c +++ b/lib/librte_eal/linux/eal/eal_vfio.c @@ -886,9 +886,6 @@ int rte_vfio_release_device(const char *sysfs_base, const char *dev_addr, int vfio_dev_fd) { - struct vfio_group_status group_status = { - .argsz = sizeof(group_status) - }; struct vfio_config *vfio_cfg; int vfio_group_fd; int iommu_group_num; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-07-24 12:53:51.761136780 +0100 +++ 0083-vfio-remove-unused-variable.patch 2020-07-24 12:53:48.311006907 +0100 @@ -1,24 +1,25 @@ -From f4823a3982fd62993a1a128c2a0396cdbe01be8a Mon Sep 17 00:00:00 2001 +From 3f7b84c931a0887ee1f65634a034c2efc2f3deef 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") -Cc: stable@dpdk.org Signed-off-by: Yunjian Wang Reviewed-by: David Marchand --- - lib/librte_eal/linux/eal_vfio.c | 3 --- + lib/librte_eal/linux/eal/eal_vfio.c | 3 --- 1 file changed, 3 deletions(-) -diff --git a/lib/librte_eal/linux/eal_vfio.c b/lib/librte_eal/linux/eal_vfio.c -index abb12a354..14358949e 100644 ---- a/lib/librte_eal/linux/eal_vfio.c -+++ b/lib/librte_eal/linux/eal_vfio.c -@@ -933,9 +933,6 @@ int +diff --git a/lib/librte_eal/linux/eal/eal_vfio.c b/lib/librte_eal/linux/eal/eal_vfio.c +index 62ffe13e0..1b703bf9e 100644 +--- a/lib/librte_eal/linux/eal/eal_vfio.c ++++ b/lib/librte_eal/linux/eal/eal_vfio.c +@@ -886,9 +886,6 @@ int rte_vfio_release_device(const char *sysfs_base, const char *dev_addr, int vfio_dev_fd) {