vfio: remove unused variable

The 'group_status' has never been used and can be removed.

Fixes: 94c0776b1b ("vfio: support hotplug")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
Yunjian Wang 2020-05-16 15:58:39 +08:00 committed by David Marchand
parent 67ae5936c4
commit f4823a3982

View File

@ -933,9 +933,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;