From: Yunjian Wang Date: Sat, 16 May 2020 07:58:39 +0000 (+0800) Subject: vfio: remove unused variable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f4823a3982fd62993a1a128c2a0396cdbe01be8a;p=dpdk.git vfio: remove unused variable 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 --- 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 @@ -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;