patches for DPDK stable branches
 help / color / Atom feed
* [dpdk-stable] [dpdk-dev] [PATCH] vfio: remove unused variable
@ 2020-05-16  7:58 wangyunjian
  2020-06-29  9:44 ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: wangyunjian @ 2020-05-16  7:58 UTC (permalink / raw)
  To: dev; +Cc: anatoly.burakov, jerry.lilijun, xudingke, Yunjian Wang, stable

From: Yunjian Wang <wangyunjian@huawei.com>

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 <wangyunjian@huawei.com>
---
 lib/librte_eal/linux/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 d26e1649a..289f06650 100644
--- a/lib/librte_eal/linux/eal_vfio.c
+++ b/lib/librte_eal/linux/eal_vfio.c
@@ -929,9 +929,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.23.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [dpdk-dev] [PATCH] vfio: remove unused variable
  2020-05-16  7:58 [dpdk-stable] [dpdk-dev] [PATCH] vfio: remove unused variable wangyunjian
@ 2020-06-29  9:44 ` David Marchand
  2020-07-07 11:50   ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: David Marchand @ 2020-06-29  9:44 UTC (permalink / raw)
  To: wangyunjian; +Cc: dev, Burakov, Anatoly, Lilijun (Jerry), xudingke, dpdk stable

On Sat, May 16, 2020 at 9:59 AM wangyunjian <wangyunjian@huawei.com> wrote:
>
> From: Yunjian Wang <wangyunjian@huawei.com>
>
> 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 <wangyunjian@huawei.com>
> ---
>  lib/librte_eal/linux/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 d26e1649a..289f06650 100644
> --- a/lib/librte_eal/linux/eal_vfio.c
> +++ b/lib/librte_eal/linux/eal_vfio.c
> @@ -929,9 +929,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.23.0
>
>

Reviewed-by: David Marchand <david.marchand@redhat.com>


-- 
David Marchand


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [dpdk-dev] [PATCH] vfio: remove unused variable
  2020-06-29  9:44 ` David Marchand
@ 2020-07-07 11:50   ` David Marchand
  0 siblings, 0 replies; 3+ messages in thread
From: David Marchand @ 2020-07-07 11:50 UTC (permalink / raw)
  To: wangyunjian; +Cc: dev, Burakov, Anatoly, Lilijun (Jerry), xudingke, dpdk stable

On Mon, Jun 29, 2020 at 11:44 AM David Marchand
<david.marchand@redhat.com> wrote:
>
> On Sat, May 16, 2020 at 9:59 AM wangyunjian <wangyunjian@huawei.com> wrote:
> >
> > From: Yunjian Wang <wangyunjian@huawei.com>
> >
> > 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 <wangyunjian@huawei.com>
> Reviewed-by: David Marchand <david.marchand@redhat.com>

Applied, thanks.


-- 
David Marchand


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16  7:58 [dpdk-stable] [dpdk-dev] [PATCH] vfio: remove unused variable wangyunjian
2020-06-29  9:44 ` David Marchand
2020-07-07 11:50   ` David Marchand

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox