git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ae593
)
vfio: remove unused variable
author
Yunjian Wang
<wangyunjian@huawei.com>
Sat, 16 May 2020 07:58:39 +0000
(15:58 +0800)
committer
David Marchand
<david.marchand@redhat.com>
Tue, 7 Jul 2020 11:49:56 +0000
(13:49 +0200)
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>
lib/librte_eal/linux/eal_vfio.c
patch
|
blob
|
history
diff --git
a/lib/librte_eal/linux/eal_vfio.c
b/lib/librte_eal/linux/eal_vfio.c
index
abb12a3
..
1435894
100644
(file)
--- 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;