diff options
| author | Vasant Hegde <[email protected]> | 2024-10-30 06:35:52 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-10-30 10:06:45 +0000 |
| commit | 4b18ef8491b06e353e8801705092cc292582cb7a (patch) | |
| tree | 12be26f1f31affe40c61316ccec986e3f0c6ffad /drivers/iommu/intel/nested.c | |
| parent | iommu/amd: Reduce domain lock scope in attach device path (diff) | |
| download | kernel-4b18ef8491b06e353e8801705092cc292582cb7a.tar.gz kernel-4b18ef8491b06e353e8801705092cc292582cb7a.zip | |
iommu/amd: Rearrange attach device code
attach_device() is just holding lock and calling do_attach(). There is
not need to have another function. Just move do_attach() code to
attach_device(). Similarly move do_detach() code to detach_device().
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Joerg Roedel <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/iommu/intel/nested.c')
0 files changed, 0 insertions, 0 deletions
