diff options
author | Jason Gunthorpe <[email protected]> | 2021-06-25 12:56:04 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-06-28 08:52:15 -0600 |
commit | 0dd1b7fc3e7d30802d5839f6bf8957023b437ad4 (patch) | |
tree | 7ec72043a722cd983d6aba3b8586c7eb9370a8df /scripts/gdb/linux/tasks.py | |
parent | 742b4c0d1efe7a7640ad17f1bbf696a1305f6495 (diff) |
vfio/mtty: Delete mdev_devices_list
Dan points out that an error case left things on this list. It is also
missing locking in available_instances_show().
Further study shows the list isn't needed at all, just store the total
ports in use in an atomic and delete the whole thing.
Reported-by: Dan Carpenter <[email protected]>
Fixes: 09177ac91921 ("vfio/mtty: Convert to use vfio_register_group_dev()")
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Cornelia Huck <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions