diff options
author | 2024-02-15 07:52:32 -0600 | |
---|---|---|
committer | 2024-04-03 14:28:55 +1100 | |
commit | 5bd31ab5f79eb6e3bdfa0ca0b57650f9d1604062 (patch) | |
tree | 6e037a4cca22a9b46be4a9e6d1224b3e372e31ef /net/unix/af_unix.c | |
parent | Linux 6.9-rc2 (diff) | |
download | wireguard-linux-5bd31ab5f79eb6e3bdfa0ca0b57650f9d1604062.tar.xz wireguard-linux-5bd31ab5f79eb6e3bdfa0ca0b57650f9d1604062.zip |
powerpc/iommu: Refactor spapr_tce_platform_iommu_attach_dev()
The patch makes the iommu_group_get() call only when using it
thereby avoiding the unnecessary get & put for domain already
being set case.
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/170800513841.2411.13524607664262048895.stgit@linux.ibm.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions