diff options
| author | Christoph Hellwig <[email protected]> | 2021-09-24 17:56:53 +0200 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-09-30 12:46:43 -0600 |
| commit | c5b4ba9730e6d607d11c3c3c9b2f04852e121423 (patch) | |
| tree | 88bb803ee19b020a64df016790e1d63f6041c5b6 /lib/mpi/mpi-cmp.c | |
| parent | b00621603d050f77a6af9e81e32daeccfd246d6a (diff) | |
vfio: remove the iommudata check in vfio_noiommu_attach_group
vfio_noiommu_attach_group has two callers:
1) __vfio_container_attach_groups is called by vfio_ioctl_set_iommu,
which just called vfio_iommu_driver_allowed
2) vfio_group_set_container requires already checks ->noiommu on the
vfio_group, which is propagated from the iommudata in
vfio_create_group
so this check is entirely superflous and can be removed.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions