mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
vfio_iommu_spapr_tce: Remove unneeded iommu_group_get_iommudata
This removes iommu_group_get_iommudata() as the result is never used. As this is a minor cleanup, no change in behavior is expected. Signed-off-by: Alexey Kardashevskiy <[email protected]> Reviewed-by: David Gibson <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
This commit is contained in:
parent
dc92810997
commit
5ed4aba126
1 changed files with 0 additions and 2 deletions
|
|
@ -331,14 +331,12 @@ static void tce_iommu_free_table(struct iommu_table *tbl);
|
|||
static void tce_iommu_release(void *iommu_data)
|
||||
{
|
||||
struct tce_container *container = iommu_data;
|
||||
struct iommu_table_group *table_group;
|
||||
struct tce_iommu_group *tcegrp;
|
||||
long i;
|
||||
|
||||
while (tce_groups_attached(container)) {
|
||||
tcegrp = list_first_entry(&container->group_list,
|
||||
struct tce_iommu_group, next);
|
||||
table_group = iommu_group_get_iommudata(tcegrp->grp);
|
||||
tce_iommu_detach_group(iommu_data, tcegrp->grp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue