> From: Jason Gunthorpe <jgg@xxxxxxxxxx> > Sent: Thursday, April 20, 2023 12:12 AM > > This is the only caller, and it doesn't need the generality of the > function. We already know there is no iommu_group, so it is simply two > function calls. > > Moving it here allows the following patches to split the logic in these > functions. > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>