diff options
author | Vasant Hegde <[email protected]> | 2024-10-30 06:35:52 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-10-30 11:06:45 +0100 |
commit | 4b18ef8491b06e353e8801705092cc292582cb7a (patch) | |
tree | 12be26f1f31affe40c61316ccec986e3f0c6ffad /scripts/clang-tools/gen_compile_commands.py | |
parent | d6b47dec368400a62d2b9d44c8e136fc15eac72c (diff) |
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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions